Ignore:
Timestamp:
Jan 29, 2015, 8:28:36 PM (11 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r179357 and r179358.
https://bugs.webkit.org/show_bug.cgi?id=141062

Suspect this caused WebGL tests to start flaking (Requested by
kling on #webkit).

Reverted changesets:

"Polymorphic call inlining should be based on polymorphic call
inline caching rather than logging"
https://bugs.webkit.org/show_bug.cgi?id=140660
http://trac.webkit.org/changeset/179357

"Unreviewed, fix no-JIT build."
http://trac.webkit.org/changeset/179358

Patch by Commit Queue <[email protected]> on 2015-01-29

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/dfg/DFGSpeculativeJIT64.cpp

    r179357 r179392  
    625625void SpeculativeJIT::emitCall(Node* node)
    626626{
    627     bool isCall = node->op() == Call;
     627    bool isCall = node->op() == Call || node->op() == ProfiledCall;
    628628    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);
    630630   
    631631    // For constructors, the this argument is not passed but we have to make space
     
    670670    CallLinkInfo* callLinkInfo = m_jit.codeBlock()->addCallLinkInfo();
    671671   
     672    if (node->op() == ProfiledCall || node->op() == ProfiledConstruct) {
     673        m_jit.vm()->callEdgeLog->emitLogCode(
     674            m_jit, callLinkInfo->callEdgeProfile, JSValueRegs(calleeGPR));
     675    }
     676
    672677    slowPath = m_jit.branchPtrWithPatch(MacroAssembler::NotEqual, calleeGPR, targetToCheck, MacroAssembler::TrustedImmPtr(0));
    673678
     
    42324237    case Call:
    42334238    case Construct:
     4239    case ProfiledCall:
     4240    case ProfiledConstruct:
    42344241        emitCall(node);
    42354242        break;
Note: See TracChangeset for help on using the changeset viewer.