Ignore:
Timestamp:
Sep 12, 2013, 4:57:59 PM (12 years ago)
Author:
[email protected]
Message:

DFG::Int32Operand and fillInt32() should go away and all uses should be replaced with SpeculateInt32Operand
https://bugs.webkit.org/show_bug.cgi?id=121268

Reviewed by Oliver Hunt.

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::compileUInt32ToNumber):

  • dfg/DFGSpeculativeJIT.h:
  • dfg/DFGSpeculativeJIT32_64.cpp:

(JSC::DFG::SpeculativeJIT::nonSpeculativeUInt32ToNumber):

  • dfg/DFGSpeculativeJIT64.cpp:

(JSC::DFG::SpeculativeJIT::nonSpeculativeUInt32ToNumber):

File:
1 edited

Legend:

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

    r155643 r155662  
    23162316        // time. This at least allows subsequent code to not have weird conditionals.
    23172317           
    2318         Int32Operand op1(this, node->child1());
     2318        SpeculateInt32Operand op1(this, node->child1());
    23192319        FPRTemporary result(this);
    23202320           
     
    23322332    }
    23332333
    2334     Int32Operand op1(this, node->child1());
     2334    SpeculateInt32Operand op1(this, node->child1());
    23352335    GPRTemporary result(this); // For the benefit of OSR exit, force these to be in different registers. In reality the OSR exit compiler could find cases where you have uint32(%r1) followed by int32(%r1) and then use different registers, but that seems like too much effort.
    23362336
Note: See TracChangeset for help on using the changeset viewer.