Ignore:
Timestamp:
Sep 14, 2013, 1:21:18 PM (12 years ago)
Author:
[email protected]
Message:

Rename IntegerBranch/IntegerCompare to Int32Branch/Int32Compare.

Rubber stamped by Mark Hahnenberg.

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::compilePeepHoleInt32Branch):
(JSC::DFG::SpeculativeJIT::compilePeepHoleBranch):
(JSC::DFG::SpeculativeJIT::compare):
(JSC::DFG::SpeculativeJIT::compileStrictEq):

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

(JSC::DFG::SpeculativeJIT::compileInt32Compare):

  • dfg/DFGSpeculativeJIT64.cpp:

(JSC::DFG::SpeculativeJIT::compileInt32Compare):

File:
1 edited

Legend:

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

    r155745 r155783  
    13721372}
    13731373
    1374 void SpeculativeJIT::compilePeepHoleIntegerBranch(Node* node, Node* branchNode, JITCompiler::RelationalCondition condition)
     1374void SpeculativeJIT::compilePeepHoleInt32Branch(Node* node, Node* branchNode, JITCompiler::RelationalCondition condition)
    13751375{
    13761376    BasicBlock* taken = branchNode->takenBlock();
     
    14161416
    14171417        if (node->isBinaryUseKind(Int32Use))
    1418             compilePeepHoleIntegerBranch(node, branchNode, condition);
     1418            compilePeepHoleInt32Branch(node, branchNode, condition);
    14191419        else if (node->isBinaryUseKind(NumberUse))
    14201420            compilePeepHoleDoubleBranch(node, branchNode, doubleCondition);
     
    35853585
    35863586    if (node->isBinaryUseKind(Int32Use)) {
    3587         compileIntegerCompare(node, condition);
     3587        compileInt32Compare(node, condition);
    35883588        return false;
    35893589    }
     
    37283728        if (branchIndexInBlock != UINT_MAX) {
    37293729            Node* branchNode = m_block->at(branchIndexInBlock);
    3730             compilePeepHoleIntegerBranch(node, branchNode, MacroAssembler::Equal);
     3730            compilePeepHoleInt32Branch(node, branchNode, MacroAssembler::Equal);
    37313731            use(node->child1());
    37323732            use(node->child2());
     
    37353735            return true;
    37363736        }
    3737         compileIntegerCompare(node, MacroAssembler::Equal);
     3737        compileInt32Compare(node, MacroAssembler::Equal);
    37383738        return false;
    37393739    }
Note: See TracChangeset for help on using the changeset viewer.