Changeset 100527 in webkit for trunk/Source/JavaScriptCore/bytecode/CodeOrigin.h
- Timestamp:
- Nov 16, 2011, 4:49:50 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/CodeOrigin.h
r99148 r100527 66 66 unsigned inlineDepth() const; 67 67 68 // If the code origin corresponds to inlined code, gives you the heap object that 69 // would have owned the code if it had not been inlined. Otherwise returns 0. 70 ExecutableBase* codeOriginOwner() const; 71 68 72 static unsigned inlineDepthForCallFrame(InlineCallFrame*); 69 73 … … 127 131 } 128 132 133 inline ExecutableBase* CodeOrigin::codeOriginOwner() const 134 { 135 if (!inlineCallFrame) 136 return 0; 137 return inlineCallFrame->executable.get(); 138 } 139 129 140 } // namespace JSC 130 141
Note:
See TracChangeset
for help on using the changeset viewer.