OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <sstream> | 5 #include <sstream> |
6 | 6 |
7 #include "src/v8.h" | 7 #include "src/v8.h" |
8 | 8 |
9 #if V8_TARGET_ARCH_X87 | 9 #if V8_TARGET_ARCH_X87 |
10 | 10 |
(...skipping 1703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1714 HCompareObjectEqAndBranch* instr) { | 1714 HCompareObjectEqAndBranch* instr) { |
1715 LOperand* left = UseRegisterAtStart(instr->left()); | 1715 LOperand* left = UseRegisterAtStart(instr->left()); |
1716 LOperand* right = UseOrConstantAtStart(instr->right()); | 1716 LOperand* right = UseOrConstantAtStart(instr->right()); |
1717 return new(zone()) LCmpObjectEqAndBranch(left, right); | 1717 return new(zone()) LCmpObjectEqAndBranch(left, right); |
1718 } | 1718 } |
1719 | 1719 |
1720 | 1720 |
1721 LInstruction* LChunkBuilder::DoCompareHoleAndBranch( | 1721 LInstruction* LChunkBuilder::DoCompareHoleAndBranch( |
1722 HCompareHoleAndBranch* instr) { | 1722 HCompareHoleAndBranch* instr) { |
1723 LOperand* value = UseRegisterAtStart(instr->value()); | 1723 LOperand* value = UseRegisterAtStart(instr->value()); |
1724 return new(zone()) LCmpHoleAndBranch(value); | 1724 return new (zone()) LCmpHoleAndBranch(value); |
1725 } | 1725 } |
1726 | 1726 |
1727 | 1727 |
1728 LInstruction* LChunkBuilder::DoCompareMinusZeroAndBranch( | 1728 LInstruction* LChunkBuilder::DoCompareMinusZeroAndBranch( |
1729 HCompareMinusZeroAndBranch* instr) { | 1729 HCompareMinusZeroAndBranch* instr) { |
1730 LOperand* value = UseRegisterAtStart(instr->value()); | 1730 LOperand* value = UseRegisterAtStart(instr->value()); |
1731 return new (zone()) LCompareMinusZeroAndBranch(value); | 1731 return new (zone()) LCompareMinusZeroAndBranch(value); |
1732 } | 1732 } |
1733 | 1733 |
1734 | 1734 |
(...skipping 982 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2717 LOperand* function = UseRegisterAtStart(instr->function()); | 2717 LOperand* function = UseRegisterAtStart(instr->function()); |
2718 LAllocateBlockContext* result = | 2718 LAllocateBlockContext* result = |
2719 new(zone()) LAllocateBlockContext(context, function); | 2719 new(zone()) LAllocateBlockContext(context, function); |
2720 return MarkAsCall(DefineFixed(result, esi), instr); | 2720 return MarkAsCall(DefineFixed(result, esi), instr); |
2721 } | 2721 } |
2722 | 2722 |
2723 | 2723 |
2724 } } // namespace v8::internal | 2724 } } // namespace v8::internal |
2725 | 2725 |
2726 #endif // V8_TARGET_ARCH_X87 | 2726 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |