Ignore:
Timestamp:
Sep 26, 2017, 2:25:44 PM (8 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r222518.
https://bugs.webkit.org/show_bug.cgi?id=177507

Break the High Sierra build (Requested by yusukesuzuki on
#webkit).

Reverted changeset:

"Add Above/Below comparisons for UInt32 patterns"
https://bugs.webkit.org/show_bug.cgi?id=177281
http://trac.webkit.org/changeset/222518

File:
1 edited

Legend:

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

    r222518 r222523  
    47504750        }
    47514751
    4752         case op_below: {
    4753             Node* op1 = get(VirtualRegister(currentInstruction[2].u.operand));
    4754             Node* op2 = get(VirtualRegister(currentInstruction[3].u.operand));
    4755             set(VirtualRegister(currentInstruction[1].u.operand), addToGraph(CompareBelow, op1, op2));
    4756             NEXT_OPCODE(op_below);
    4757         }
    4758 
    4759         case op_beloweq: {
    4760             Node* op1 = get(VirtualRegister(currentInstruction[2].u.operand));
    4761             Node* op2 = get(VirtualRegister(currentInstruction[3].u.operand));
    4762             set(VirtualRegister(currentInstruction[1].u.operand), addToGraph(CompareBelowEq, op1, op2));
    4763             NEXT_OPCODE(op_beloweq);
    4764         }
    4765 
    47664752        case op_eq: {
    47674753            Node* op1 = get(VirtualRegister(currentInstruction[2].u.operand));
     
    52095195            LAST_OPCODE(op_jngreatereq);
    52105196        }
    5211 
    5212         case op_jbelow: {
    5213             unsigned relativeOffset = currentInstruction[3].u.operand;
    5214             Node* op1 = get(VirtualRegister(currentInstruction[1].u.operand));
    5215             Node* op2 = get(VirtualRegister(currentInstruction[2].u.operand));
    5216             Node* condition = addToGraph(CompareBelow, op1, op2);
    5217             addToGraph(Branch, OpInfo(branchData(m_currentIndex + relativeOffset, m_currentIndex + OPCODE_LENGTH(op_jbelow))), condition);
    5218             LAST_OPCODE(op_jbelow);
    5219         }
    5220 
    5221         case op_jbeloweq: {
    5222             unsigned relativeOffset = currentInstruction[3].u.operand;
    5223             Node* op1 = get(VirtualRegister(currentInstruction[1].u.operand));
    5224             Node* op2 = get(VirtualRegister(currentInstruction[2].u.operand));
    5225             Node* condition = addToGraph(CompareBelowEq, op1, op2);
    5226             addToGraph(Branch, OpInfo(branchData(m_currentIndex + relativeOffset, m_currentIndex + OPCODE_LENGTH(op_jbeloweq))), condition);
    5227             LAST_OPCODE(op_jbeloweq);
    5228         }
    5229 
     5197           
    52305198        case op_switch_imm: {
    52315199            SwitchData& data = *m_graph.m_switchData.add();
Note: See TracChangeset for help on using the changeset viewer.