Changeset 172853 in webkit for trunk/Source/JavaScriptCore/bytecode
- Timestamp:
- Aug 21, 2014, 10:30:02 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/CodeOrigin.h
r172801 r172853 160 160 CodeOrigin caller; 161 161 BitVector capturedVars; // Indexed by the machine call frame's variable numbering. 162 signed stackOffset : 30; 162 163 signed stackOffset : 29; 163 164 unsigned kind : 2; // real type is Kind 164 165 bool isClosureCall : 1; // If false then we know that callee/scope are constants and the DFG won't treat them as variables, i.e. they have to be recovered manually. … … 198 199 CodeBlock* baselineCodeBlock() const; 199 200 201 void setStackOffset(signed offset) 202 { 203 stackOffset = offset; 204 RELEASE_ASSERT(static_cast<signed>(stackOffset) == offset); 205 } 206 200 207 ptrdiff_t callerFrameOffset() const { return stackOffset * sizeof(Register) + CallFrame::callerFrameOffset(); } 201 208 ptrdiff_t returnPCOffset() const { return stackOffset * sizeof(Register) + CallFrame::returnPCOffset(); }
Note:
See TracChangeset
for help on using the changeset viewer.