X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/9dae56ea45a0f5f8136a5c93d6f3a7f99399ca73..ba379fdc102753d6be2c4d937058fe40257329fe:/runtime/JSCell.cpp diff --git a/runtime/JSCell.cpp b/runtime/JSCell.cpp index d449deb..c733ed9 100644 --- a/runtime/JSCell.cpp +++ b/runtime/JSCell.cpp @@ -90,16 +90,6 @@ bool JSCell::getUInt32(uint32_t&) const return false; } -bool JSCell::getTruncatedInt32(int32_t&) const -{ - return false; -} - -bool JSCell::getTruncatedUInt32(uint32_t&) const -{ - return false; -} - bool JSCell::getString(UString&stringValue) const { if (!isString()) @@ -157,12 +147,12 @@ bool JSCell::getOwnPropertySlot(ExecState* exec, unsigned identifier, PropertySl return true; } -void JSCell::put(ExecState* exec, const Identifier& identifier, JSValuePtr value, PutPropertySlot& slot) +void JSCell::put(ExecState* exec, const Identifier& identifier, JSValue value, PutPropertySlot& slot) { toObject(exec)->put(exec, identifier, value, slot); } -void JSCell::put(ExecState* exec, unsigned identifier, JSValuePtr value) +void JSCell::put(ExecState* exec, unsigned identifier, JSValue value) { toObject(exec)->put(exec, identifier, value); } @@ -197,9 +187,9 @@ const ClassInfo* JSCell::classInfo() const return 0; } -JSValuePtr JSCell::getJSNumber() +JSValue JSCell::getJSNumber() { - return noValue(); + return JSValue(); } bool JSCell::isGetterSetter() const