Changeset 68237 in webkit for trunk/JavaScriptCore/bytecompiler/BytecodeGenerator.h
- Timestamp:
- Sep 23, 2010, 11:24:21 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bytecompiler/BytecodeGenerator.h
r68223 r68237 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);312 310 RegisterID* emitNewFunctionExpression(RegisterID* dst, FuncExprNode* func); 313 311 RegisterID* emitNewRegExp(RegisterID* dst, RegExp* regExp); … … 444 442 445 443 RegisterID* emitCall(OpcodeID, RegisterID* dst, RegisterID* func, CallArguments&, unsigned divot, unsigned startOffset, unsigned endOffset); 446 444 447 445 RegisterID* newRegister(); 448 446 … … 506 504 } 507 505 508 RegisterID* emitInitLazyRegister(RegisterID*);509 510 506 Vector<Instruction>& instructions() { return m_codeBlock->instructions(); } 511 507 SymbolTable& symbolTable() { return *m_symbolTable; } … … 517 513 518 514 void createArgumentsIfNecessary(); 519 RegisterID* createLazyRegisterIfNecessary(RegisterID*);520 515 521 516 bool m_shouldEmitDebugHooks; … … 557 552 int m_globalVarStorageOffset; 558 553 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 565 554 // Constant pool 566 555 IdentifierMap m_identifierMap;
Note:
See TracChangeset
for help on using the changeset viewer.