Changeset 196702 in webkit for trunk/Source/JavaScriptCore/runtime/JSGlobalObject.h
- Timestamp:
- Feb 17, 2016, 11:04:11 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSGlobalObject.h
r196165 r196702 397 397 398 398 JS_EXPORT_PRIVATE static bool getOwnPropertySlot(JSObject*, ExecState*, PropertyName, PropertySlot&); 399 bool hasOwnPropertyForWrite(ExecState*, PropertyName);400 399 JS_EXPORT_PRIVATE static void put(JSCell*, ExecState*, PropertyName, JSValue, PutPropertySlot&); 401 400 … … 718 717 } 719 718 720 inline bool JSGlobalObject::hasOwnPropertyForWrite(ExecState* exec, PropertyName propertyName)721 {722 PropertySlot slot(this);723 if (Base::getOwnPropertySlot(this, exec, propertyName, slot))724 return true;725 bool slotIsWriteable;726 return symbolTableGet(this, propertyName, slot, slotIsWriteable);727 }728 729 719 inline JSArray* constructEmptyArray(ExecState* exec, ArrayAllocationProfile* profile, JSGlobalObject* globalObject, unsigned initialLength = 0, JSValue newTarget = JSValue()) 730 720 {
Note:
See TracChangeset
for help on using the changeset viewer.