diff options
Diffstat (limited to 'JavaScriptCore/bindings/runtime_array.cpp')
-rw-r--r-- | JavaScriptCore/bindings/runtime_array.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/JavaScriptCore/bindings/runtime_array.cpp b/JavaScriptCore/bindings/runtime_array.cpp index 005bae2..c8ff075 100644 --- a/JavaScriptCore/bindings/runtime_array.cpp +++ b/JavaScriptCore/bindings/runtime_array.cpp @@ -80,7 +80,7 @@ bool RuntimeArray::getOwnPropertySlot(ExecState *exec, unsigned index, PropertyS return JSObject::getOwnPropertySlot(exec, index, slot); } -void RuntimeArray::put(ExecState* exec, const Identifier& propertyName, JSValue* value) +void RuntimeArray::put(ExecState* exec, const Identifier& propertyName, JSValue* value, int attr) { if (propertyName == exec->propertyNames().length) { throwError(exec, RangeError); @@ -94,10 +94,10 @@ void RuntimeArray::put(ExecState* exec, const Identifier& propertyName, JSValue* return; } - JSObject::put(exec, propertyName, value); + JSObject::put(exec, propertyName, value, attr); } -void RuntimeArray::put(ExecState* exec, unsigned index, JSValue* value) +void RuntimeArray::put(ExecState* exec, unsigned index, JSValue* value, int) { if (index >= getLength()) { throwError(exec, RangeError); |