Changeset 68281 in webkit for trunk/JavaScriptCore/bytecompiler/BytecodeGenerator.h
- Timestamp:
- Sep 24, 2010, 12:06:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bytecompiler/BytecodeGenerator.h
r68237 r68281 308 308 309 309 RegisterID* emitNewFunction(RegisterID* dst, FunctionBodyNode* body); 310 RegisterID* emitLazyNewFunction(RegisterID* dst, FunctionBodyNode* body); 311 RegisterID* emitNewFunctionInternal(RegisterID* dst, unsigned index, bool shouldNullCheck); 310 312 RegisterID* emitNewFunctionExpression(RegisterID* dst, FuncExprNode* func); 311 313 RegisterID* emitNewRegExp(RegisterID* dst, RegExp* regExp); … … 442 444 443 445 RegisterID* emitCall(OpcodeID, RegisterID* dst, RegisterID* func, CallArguments&, unsigned divot, unsigned startOffset, unsigned endOffset); 444 446 445 447 RegisterID* newRegister(); 446 448 … … 504 506 } 505 507 508 RegisterID* emitInitLazyRegister(RegisterID*); 509 506 510 Vector<Instruction>& instructions() { return m_codeBlock->instructions(); } 507 511 SymbolTable& symbolTable() { return *m_symbolTable; } … … 513 517 514 518 void createArgumentsIfNecessary(); 519 RegisterID* createLazyRegisterIfNecessary(RegisterID*); 515 520 516 521 bool m_shouldEmitDebugHooks; … … 552 557 int m_globalVarStorageOffset; 553 558 559 int m_firstLazyFunction; 560 int m_lastLazyFunction; 561 HashMap<unsigned int, FunctionBodyNode*, WTF::IntHash<unsigned int>, WTF::UnsignedWithZeroKeyHashTraits<unsigned int> > m_lazyFunctions; 562 typedef HashMap<FunctionBodyNode*, unsigned> FunctionOffsetMap; 563 FunctionOffsetMap m_functionOffsets; 564 554 565 // Constant pool 555 566 IdentifierMap m_identifierMap;
Note:
See TracChangeset
for help on using the changeset viewer.