diff options
author | Feng Qian <fqian@google.com> | 2009-06-17 12:12:20 -0700 |
---|---|---|
committer | Feng Qian <fqian@google.com> | 2009-06-17 12:12:20 -0700 |
commit | 5f1ab04193ad0130ca8204aadaceae083aca9881 (patch) | |
tree | 5a92cd389e2cfe7fb67197ce14b38469462379f8 /JavaScriptCore/runtime/JSNotAnObject.cpp | |
parent | 194315e5a908cc8ed67d597010544803eef1ac59 (diff) | |
download | external_webkit-5f1ab04193ad0130ca8204aadaceae083aca9881.zip external_webkit-5f1ab04193ad0130ca8204aadaceae083aca9881.tar.gz external_webkit-5f1ab04193ad0130ca8204aadaceae083aca9881.tar.bz2 |
Get WebKit r44544.
Diffstat (limited to 'JavaScriptCore/runtime/JSNotAnObject.cpp')
-rw-r--r-- | JavaScriptCore/runtime/JSNotAnObject.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/JavaScriptCore/runtime/JSNotAnObject.cpp b/JavaScriptCore/runtime/JSNotAnObject.cpp index 67edfd1..937dc2b 100644 --- a/JavaScriptCore/runtime/JSNotAnObject.cpp +++ b/JavaScriptCore/runtime/JSNotAnObject.cpp @@ -37,13 +37,13 @@ namespace JSC { ASSERT_CLASS_FITS_IN_CELL(JSNotAnObject); // JSValue methods -JSValuePtr JSNotAnObject::toPrimitive(ExecState* exec, PreferredPrimitiveType) const +JSValue JSNotAnObject::toPrimitive(ExecState* exec, PreferredPrimitiveType) const { ASSERT_UNUSED(exec, exec->hadException() && exec->exception() == m_exception); return m_exception; } -bool JSNotAnObject::getPrimitiveNumber(ExecState* exec, double&, JSValuePtr&) +bool JSNotAnObject::getPrimitiveNumber(ExecState* exec, double&, JSValue&) { ASSERT_UNUSED(exec, exec->hadException() && exec->exception() == m_exception); return false; @@ -94,12 +94,12 @@ bool JSNotAnObject::getOwnPropertySlot(ExecState* exec, unsigned, PropertySlot&) return false; } -void JSNotAnObject::put(ExecState* exec, const Identifier& , JSValuePtr, PutPropertySlot&) +void JSNotAnObject::put(ExecState* exec, const Identifier& , JSValue, PutPropertySlot&) { ASSERT_UNUSED(exec, exec->hadException() && exec->exception() == m_exception); } -void JSNotAnObject::put(ExecState* exec, unsigned, JSValuePtr) +void JSNotAnObject::put(ExecState* exec, unsigned, JSValue) { ASSERT_UNUSED(exec, exec->hadException() && exec->exception() == m_exception); } |