Changeset 173307 in webkit for trunk/Source/JavaScriptCore/runtime/JSObject.h
- Timestamp:
- Sep 4, 2014, 8:36:52 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSObject.h
r173100 r173307 1580 1580 JSC_NATIVE_INTRINSIC_FUNCTION(jsName, cppName, (attributes), (length), NoIntrinsic) 1581 1581 1582 ALWAYS_INLINE JSValue PropertySlot::getValue(ExecState* exec, PropertyName propertyName) const1583 {1584 if (m_propertyType == TypeValue)1585 return JSValue::decode(m_data.value);1586 if (m_propertyType == TypeGetter)1587 return functionGetter(exec);1588 return JSValue::decode(m_data.custom.getValue(exec, slotBase(), JSValue::encode(m_thisValue), propertyName));1589 }1590 1591 ALWAYS_INLINE JSValue PropertySlot::getValue(ExecState* exec, unsigned propertyName) const1592 {1593 if (m_propertyType == TypeValue)1594 return JSValue::decode(m_data.value);1595 if (m_propertyType == TypeGetter)1596 return functionGetter(exec);1597 return JSValue::decode(m_data.custom.getValue(exec, slotBase(), JSValue::encode(m_thisValue), Identifier::from(exec, propertyName)));1598 }1599 1600 1582 } // namespace JSC 1601 1583
Note:
See TracChangeset
for help on using the changeset viewer.