Changeset 154459 in webkit for trunk/Source/JavaScriptCore/runtime/JSActivation.cpp
- Timestamp:
- Aug 22, 2013, 1:35:09 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSActivation.cpp
r154373 r154459 194 194 } 195 195 196 // FIXME: Make this function honor ReadOnly (const) and DontEnum197 void JSActivation::putDirectVirtual(JSObject* object, ExecState* exec, PropertyName propertyName, JSValue value, unsigned attributes)198 {199 JSActivation* thisObject = jsCast<JSActivation*>(object);200 ASSERT(!Heap::heap(value) || Heap::heap(value) == Heap::heap(thisObject));201 202 if (thisObject->symbolTablePutWithAttributes(exec->vm(), propertyName, value, attributes))203 return;204 205 // We don't call through to JSObject because __proto__ and getter/setter206 // properties are non-standard extensions that other implementations do not207 // expose in the activation object.208 ASSERT(!thisObject->hasGetterSetterProperties());209 JSObject::putDirectVirtual(thisObject, exec, propertyName, value, attributes);210 }211 212 196 bool JSActivation::deleteProperty(JSCell* cell, ExecState* exec, PropertyName propertyName) 213 197 {
Note:
See TracChangeset
for help on using the changeset viewer.