Changeset 214979 in webkit for trunk/Source/JavaScriptCore/interpreter/CallFrame.h
- Timestamp:
- Apr 5, 2017, 4:59:11 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/interpreter/CallFrame.h
r214905 r214979 88 88 static const int headerSizeInRegisters = CallFrameSlot::argumentCount + 1; 89 89 90 JSValue calleeAsValue() const 90 // This function should only be called in very specific circumstances 91 // when you've guaranteed the callee can't be a Wasm callee, and can 92 // be an arbitrary JSValue. This function should basically never be used. 93 // Its only use right now is when we are making a call, and we're not 94 // yet sure if the callee is a cell. In general, a JS callee is guaranteed 95 // to be a cell, however, there is a brief window where we need to check 96 // to see if it's a cell, and if it's not, we throw an exception. 97 JSValue guaranteedJSValueCallee() const 91 98 { 92 99 ASSERT(!callee().isWasm());
Note:
See TracChangeset
for help on using the changeset viewer.