Changeset 179392 in webkit for trunk/Source/JavaScriptCore/dfg/DFGSpeculativeJIT64.cpp
- Timestamp:
- Jan 29, 2015, 8:28:36 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGSpeculativeJIT64.cpp
r179357 r179392 625 625 void SpeculativeJIT::emitCall(Node* node) 626 626 { 627 bool isCall = node->op() == Call ;627 bool isCall = node->op() == Call || node->op() == ProfiledCall; 628 628 if (!isCall) 629 DFG_ASSERT(m_jit.graph(), node, node->op() == Construct );629 DFG_ASSERT(m_jit.graph(), node, node->op() == Construct || node->op() == ProfiledConstruct); 630 630 631 631 // For constructors, the this argument is not passed but we have to make space … … 670 670 CallLinkInfo* callLinkInfo = m_jit.codeBlock()->addCallLinkInfo(); 671 671 672 if (node->op() == ProfiledCall || node->op() == ProfiledConstruct) { 673 m_jit.vm()->callEdgeLog->emitLogCode( 674 m_jit, callLinkInfo->callEdgeProfile, JSValueRegs(calleeGPR)); 675 } 676 672 677 slowPath = m_jit.branchPtrWithPatch(MacroAssembler::NotEqual, calleeGPR, targetToCheck, MacroAssembler::TrustedImmPtr(0)); 673 678 … … 4232 4237 case Call: 4233 4238 case Construct: 4239 case ProfiledCall: 4240 case ProfiledConstruct: 4234 4241 emitCall(node); 4235 4242 break;
Note:
See TracChangeset
for help on using the changeset viewer.