Changeset 223715 in webkit for trunk/Source/JavaScriptCore/runtime/JSObject.h
- Timestamp:
- Oct 19, 2017, 3:23:58 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSObject.h
r222827 r223715 676 676 PropertyStorage outOfLineStorage() { return m_butterfly->propertyStorage(); } 677 677 678 const WriteBarrierBase<Unknown>* locationForOffset(PropertyOffset offset) const678 ALWAYS_INLINE const WriteBarrierBase<Unknown>* locationForOffset(PropertyOffset offset) const 679 679 { 680 680 if (isInlineOffset(offset)) … … 683 683 } 684 684 685 WriteBarrierBase<Unknown>* locationForOffset(PropertyOffset offset)685 ALWAYS_INLINE WriteBarrierBase<Unknown>* locationForOffset(PropertyOffset offset) 686 686 { 687 687 if (isInlineOffset(offset)) … … 705 705 706 706 // Fast access to known property offsets. 707 JSValue getDirect(PropertyOffset offset) const { return locationForOffset(offset)->get(); }707 ALWAYS_INLINE JSValue getDirect(PropertyOffset offset) const { return locationForOffset(offset)->get(); } 708 708 void putDirect(VM& vm, PropertyOffset offset, JSValue value) { locationForOffset(offset)->set(vm, this, value); } 709 709 void putDirectWithoutBarrier(PropertyOffset offset, JSValue value) { locationForOffset(offset)->setWithoutWriteBarrier(value); }
Note:
See TracChangeset
for help on using the changeset viewer.