Changeset 266251 in webkit for trunk/Source/JavaScriptCore/runtime/JSCJSValueInlines.h
- Timestamp:
- Aug 27, 2020, 1:11:57 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSCJSValueInlines.h
r266107 r266251 1106 1106 } 1107 1107 1108 inline Structure* JSValue::structureOrNull( ) const1108 inline Structure* JSValue::structureOrNull(VM& vm) const 1109 1109 { 1110 1110 if (isCell()) 1111 return asCell()->structure( );1111 return asCell()->structure(vm); 1112 1112 return nullptr; 1113 }1114 1115 inline JSValue JSValue::structureOrUndefined() const1116 {1117 if (isCell())1118 return JSValue(asCell()->structure());1119 return jsUndefined();1120 1113 } 1121 1114
Note:
See TracChangeset
for help on using the changeset viewer.