X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/9dae56ea45a0f5f8136a5c93d6f3a7f99399ca73..ba379fdc102753d6be2c4d937058fe40257329fe:/runtime/JSByteArray.cpp diff --git a/runtime/JSByteArray.cpp b/runtime/JSByteArray.cpp index 54cf7cb..2a5e72f 100644 --- a/runtime/JSByteArray.cpp +++ b/runtime/JSByteArray.cpp @@ -43,7 +43,7 @@ JSByteArray::JSByteArray(ExecState* exec, PassRefPtr structure, ByteA putDirect(exec->globalData().propertyNames->length, jsNumber(exec, m_storage->length()), ReadOnly | DontDelete); } -PassRefPtr JSByteArray::createStructure(JSValuePtr prototype) +PassRefPtr JSByteArray::createStructure(JSValue prototype) { PassRefPtr result = Structure::create(prototype, TypeInfo(ObjectType)); return result; @@ -69,7 +69,7 @@ bool JSByteArray::getOwnPropertySlot(ExecState* exec, unsigned propertyName, Pro return JSObject::getOwnPropertySlot(exec, Identifier::from(exec, propertyName), slot); } -void JSByteArray::put(ExecState* exec, const Identifier& propertyName, JSValuePtr value, PutPropertySlot& slot) +void JSByteArray::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot) { bool ok; unsigned index = propertyName.toUInt32(&ok, false); @@ -80,7 +80,7 @@ void JSByteArray::put(ExecState* exec, const Identifier& propertyName, JSValuePt JSObject::put(exec, propertyName, value, slot); } -void JSByteArray::put(ExecState* exec, unsigned propertyName, JSValuePtr value) +void JSByteArray::put(ExecState* exec, unsigned propertyName, JSValue value) { setIndex(exec, propertyName, value); }