Changeset 95672 in webkit for trunk/Source/JavaScriptCore/runtime/Executable.h
- Timestamp:
- Sep 21, 2011, 3:17:06 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/Executable.h
r95666 r95672 488 488 } 489 489 490 JSObject* compileForConstruct(ExecState* exec, ScopeChainNode* scopeChainNode )490 JSObject* compileForConstruct(ExecState* exec, ScopeChainNode* scopeChainNode, ExecState* calleeArgsExec = 0) 491 491 { 492 492 ASSERT(exec->globalData().dynamicGlobalObject); 493 493 JSObject* error = 0; 494 494 if (!m_codeBlockForConstruct) 495 error = compileForConstructInternal(exec, scopeChainNode, JITCode::bottomTierJIT());495 error = compileForConstructInternal(exec, scopeChainNode, calleeArgsExec, JITCode::bottomTierJIT()); 496 496 ASSERT(!error == !!m_codeBlockForConstruct); 497 497 return error; 498 498 } 499 499 500 JSObject* compileOptimizedForConstruct(ExecState*, ScopeChainNode* );500 JSObject* compileOptimizedForConstruct(ExecState*, ScopeChainNode*, ExecState* calleeArgsExec = 0); 501 501 502 502 bool isGeneratedForConstruct() const … … 522 522 return compileForCall(exec, scopeChainNode, exec); 523 523 ASSERT(kind == CodeForConstruct); 524 return compileForConstruct(exec, scopeChainNode );524 return compileForConstruct(exec, scopeChainNode, exec); 525 525 } 526 526 … … 536 536 return compileOptimizedForCall(exec, scopeChainNode, exec); 537 537 ASSERT(kind == CodeForConstruct); 538 return compileOptimizedForConstruct(exec, scopeChainNode );538 return compileOptimizedForConstruct(exec, scopeChainNode, exec); 539 539 } 540 540 … … 588 588 589 589 JSObject* compileForCallInternal(ExecState*, ScopeChainNode*, ExecState* calleeArgsExec, JITCode::JITType); 590 JSObject* compileForConstructInternal(ExecState*, ScopeChainNode*, JITCode::JITType);590 JSObject* compileForConstructInternal(ExecState*, ScopeChainNode*, ExecState* calleeArgsExec, JITCode::JITType); 591 591 592 592 static const unsigned StructureFlags = OverridesVisitChildren | ScriptExecutable::StructureFlags;
Note:
See TracChangeset
for help on using the changeset viewer.