Changeset 39255 in webkit for trunk/JavaScriptCore/bytecode/CodeBlock.h
- Timestamp:
- Dec 12, 2008, 2:48:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bytecode/CodeBlock.h
r39252 r39255 79 79 }; 80 80 81 // Both op_construct and op_instanceof require a use of op_get_by_id to get 82 // the prototype property from an object. The exception messages for exceptions 83 // thrown by these instances op_get_by_id need to reflect this. 84 struct GetByIdExceptionInfo { 85 unsigned bytecodeOffset : 31; 86 bool isOpConstruct : 1; 87 }; 88 81 89 #if ENABLE(JIT) 82 90 struct CallLinkInfo { … … 228 236 int lineNumberForBytecodeOffset(unsigned bytecodeOffset); 229 237 int expressionRangeForBytecodeOffset(unsigned bytecodeOffset, int& divot, int& startOffset, int& endOffset); 238 bool getByIdExceptionInfoForBytecodeOffset(unsigned bytecodeOffset, OpcodeID&); 230 239 231 240 #if ENABLE(JIT) … … 303 312 304 313 void addExpressionInfo(const ExpressionRangeInfo& expressionInfo) { return m_expressionInfo.append(expressionInfo); } 314 void addGetByIdExceptionInfo(const GetByIdExceptionInfo& info) { m_getByIdExceptionInfo.append(info); } 305 315 306 316 size_t numberOfLineInfos() const { return m_lineInfo.size(); } … … 427 437 Vector<ExpressionRangeInfo> m_expressionInfo; 428 438 Vector<LineInfo> m_lineInfo; 439 Vector<GetByIdExceptionInfo> m_getByIdExceptionInfo; 429 440 430 441 #if ENABLE(JIT)
Note:
See TracChangeset
for help on using the changeset viewer.