Ignore:
Timestamp:
Sep 10, 2013, 3:16:00 PM (12 years ago)
Author:
[email protected]
Message:

We should say Int32 when we mean Int32. Saying Integer is just weird.

Rubber stamped by Mark Hahnenberg.

  • dfg/DFGAbstractInterpreterInlines.h:

(JSC::DFG::::executeEffects):

  • dfg/DFGFixupPhase.cpp:

(JSC::DFG::FixupPhase::fixupNode):
(JSC::DFG::FixupPhase::fixupToPrimitive):
(JSC::DFG::FixupPhase::fixIntEdge):
(JSC::DFG::FixupPhase::truncateConstantsIfNecessary):
(JSC::DFG::FixupPhase::attemptToMakeIntegerAdd):

  • dfg/DFGGraph.h:

(JSC::DFG::Graph::addSpeculationMode):
(JSC::DFG::Graph::valueAddSpeculationMode):
(JSC::DFG::Graph::arithAddSpeculationMode):
(JSC::DFG::Graph::addShouldSpeculateInt32):
(JSC::DFG::Graph::mulShouldSpeculateInt32):
(JSC::DFG::Graph::negateShouldSpeculateInt32):
(JSC::DFG::Graph::addImmediateShouldSpeculateInt32):
(JSC::DFG::Graph::mulImmediateShouldSpeculateInt32):

  • dfg/DFGNode.h:

(JSC::DFG::Node::shouldSpeculateInt32):
(JSC::DFG::Node::shouldSpeculateInt32ForArithmetic):
(JSC::DFG::Node::shouldSpeculateInt32ExpectingDefined):
(JSC::DFG::Node::canSpeculateInt32):

  • dfg/DFGNodeFlags.h:

(JSC::DFG::nodeCanSpeculateInt32):

  • dfg/DFGPredictionPropagationPhase.cpp:

(JSC::DFG::PredictionPropagationPhase::propagate):
(JSC::DFG::PredictionPropagationPhase::doDoubleVoting):

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::arrayify):
(JSC::DFG::GPRTemporary::GPRTemporary):
(JSC::DFG::SpeculativeJIT::compilePeepHoleIntegerBranch):
(JSC::DFG::SpeculativeJIT::compileValueToInt32):
(JSC::DFG::SpeculativeJIT::compileUInt32ToNumber):
(JSC::DFG::SpeculativeJIT::compileInt32ToDouble):
(JSC::DFG::SpeculativeJIT::compileGetByValOnIntTypedArray):
(JSC::DFG::SpeculativeJIT::compilePutByValForIntTypedArray):
(JSC::DFG::SpeculativeJIT::compileAdd):
(JSC::DFG::SpeculativeJIT::compileArithSub):
(JSC::DFG::SpeculativeJIT::compileArithNegate):
(JSC::DFG::SpeculativeJIT::compileArithIMul):
(JSC::DFG::SpeculativeJIT::compileArithMul):
(JSC::DFG::SpeculativeJIT::compileArithDiv):
(JSC::DFG::SpeculativeJIT::compileArithMod):
(JSC::DFG::SpeculativeJIT::compileNewTypedArray):
(JSC::DFG::SpeculativeJIT::speculateInt32):
(JSC::DFG::SpeculativeJIT::emitSwitchImm):

  • dfg/DFGSpeculativeJIT.h:

(JSC::DFG::SpeculateInt32Operand::SpeculateInt32Operand):
(JSC::DFG::SpeculateInt32Operand::~SpeculateInt32Operand):

  • dfg/DFGSpeculativeJIT32_64.cpp:

(JSC::DFG::SpeculativeJIT::compileIntegerCompare):
(JSC::DFG::SpeculativeJIT::compileLogicalNot):
(JSC::DFG::SpeculativeJIT::emitBranch):
(JSC::DFG::SpeculativeJIT::compile):

  • dfg/DFGSpeculativeJIT64.cpp:

(JSC::DFG::SpeculativeJIT::compileIntegerCompare):
(JSC::DFG::SpeculativeJIT::compileLogicalNot):
(JSC::DFG::SpeculativeJIT::emitBranch):
(JSC::DFG::SpeculativeJIT::compile):

  • ftl/FTLLowerDFGToLLVM.cpp:

(JSC::FTL::LowerDFGToLLVM::compileUInt32ToNumber):
(JSC::FTL::LowerDFGToLLVM::compileGetByVal):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/dfg/DFGNode.h

    r155023 r155482  
    12001200    }
    12011201   
    1202     bool shouldSpeculateInteger()
     1202    bool shouldSpeculateInt32()
    12031203    {
    12041204        return isInt32Speculation(prediction());
    12051205    }
    12061206   
    1207     bool shouldSpeculateIntegerForArithmetic()
     1207    bool shouldSpeculateInt32ForArithmetic()
    12081208    {
    12091209        return isInt32SpeculationForArithmetic(prediction());
    12101210    }
    12111211   
    1212     bool shouldSpeculateIntegerExpectingDefined()
     1212    bool shouldSpeculateInt32ExpectingDefined()
    12131213    {
    12141214        return isInt32SpeculationExpectingDefined(prediction());
     
    13501350    }
    13511351   
    1352     static bool shouldSpeculateInteger(Node* op1, Node* op2)
    1353     {
    1354         return op1->shouldSpeculateInteger() && op2->shouldSpeculateInteger();
    1355     }
    1356    
    1357     static bool shouldSpeculateIntegerForArithmetic(Node* op1, Node* op2)
    1358     {
    1359         return op1->shouldSpeculateIntegerForArithmetic() && op2->shouldSpeculateIntegerForArithmetic();
    1360     }
    1361    
    1362     static bool shouldSpeculateIntegerExpectingDefined(Node* op1, Node* op2)
    1363     {
    1364         return op1->shouldSpeculateIntegerExpectingDefined() && op2->shouldSpeculateIntegerExpectingDefined();
     1352    static bool shouldSpeculateInt32(Node* op1, Node* op2)
     1353    {
     1354        return op1->shouldSpeculateInt32() && op2->shouldSpeculateInt32();
     1355    }
     1356   
     1357    static bool shouldSpeculateInt32ForArithmetic(Node* op1, Node* op2)
     1358    {
     1359        return op1->shouldSpeculateInt32ForArithmetic() && op2->shouldSpeculateInt32ForArithmetic();
     1360    }
     1361   
     1362    static bool shouldSpeculateInt32ExpectingDefined(Node* op1, Node* op2)
     1363    {
     1364        return op1->shouldSpeculateInt32ExpectingDefined() && op2->shouldSpeculateInt32ExpectingDefined();
    13651365    }
    13661366   
     
    13901390    }
    13911391   
    1392     bool canSpeculateInteger()
    1393     {
    1394         return nodeCanSpeculateInteger(arithNodeFlags());
     1392    bool canSpeculateInt32()
     1393    {
     1394        return nodeCanSpeculateInt32(arithNodeFlags());
    13951395    }
    13961396   
Note: See TracChangeset for help on using the changeset viewer.