Changeset 222523 in webkit for trunk/Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp
- Timestamp:
- Sep 26, 2017, 2:25:44 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp
r222518 r222523 4750 4750 } 4751 4751 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 4766 4752 case op_eq: { 4767 4753 Node* op1 = get(VirtualRegister(currentInstruction[2].u.operand)); … … 5209 5195 LAST_OPCODE(op_jngreatereq); 5210 5196 } 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 5230 5198 case op_switch_imm: { 5231 5199 SwitchData& data = *m_graph.m_switchData.add();
Note:
See TracChangeset
for help on using the changeset viewer.