Changeset 99497 in webkit for trunk/Source/JavaScriptCore/runtime/JSActivation.cpp
- Timestamp:
- Nov 7, 2011, 3:57:37 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSActivation.cpp
r99357 r99497 182 182 183 183 // FIXME: Make this function honor ReadOnly (const) and DontEnum 184 void JSActivation::putWithAttributes(ExecState* exec, const Identifier& propertyName, JSValue value, unsigned attributes) 185 { 186 ASSERT(!Heap::heap(value) || Heap::heap(value) == Heap::heap(this)); 187 188 if (symbolTablePutWithAttributes(exec->globalData(), propertyName, value, attributes)) 184 void JSActivation::putWithAttributes(JSObject* object, ExecState* exec, const Identifier& propertyName, JSValue value, unsigned attributes) 185 { 186 JSActivation* thisObject = static_cast<JSActivation*>(object); 187 ASSERT(!Heap::heap(value) || Heap::heap(value) == Heap::heap(thisObject)); 188 189 if (thisObject->symbolTablePutWithAttributes(exec->globalData(), propertyName, value, attributes)) 189 190 return; 190 191 … … 192 193 // properties are non-standard extensions that other implementations do not 193 194 // expose in the activation object. 194 ASSERT(! hasGetterSetterProperties());195 JSObject::putWithAttributes( exec, propertyName, value, attributes);195 ASSERT(!thisObject->hasGetterSetterProperties()); 196 JSObject::putWithAttributes(thisObject, exec, propertyName, value, attributes); 196 197 } 197 198
Note:
See TracChangeset
for help on using the changeset viewer.