| 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 #ifndef V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_ | 5 #ifndef V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_ |
| 6 #define V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_ | 6 #define V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_ |
| 7 | 7 |
| 8 #include "src/crankshaft/hydrogen.h" | 8 #include "src/crankshaft/hydrogen.h" |
| 9 #include "src/crankshaft/lithium.h" | 9 #include "src/crankshaft/lithium.h" |
| 10 #include "src/crankshaft/lithium-allocator.h" | 10 #include "src/crankshaft/lithium-allocator.h" |
| (...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 530 inputs_[2] = length; | 530 inputs_[2] = length; |
| 531 inputs_[3] = elements; | 531 inputs_[3] = elements; |
| 532 } | 532 } |
| 533 | 533 |
| 534 LOperand* function() { return inputs_[0]; } | 534 LOperand* function() { return inputs_[0]; } |
| 535 LOperand* receiver() { return inputs_[1]; } | 535 LOperand* receiver() { return inputs_[1]; } |
| 536 LOperand* length() { return inputs_[2]; } | 536 LOperand* length() { return inputs_[2]; } |
| 537 LOperand* elements() { return inputs_[3]; } | 537 LOperand* elements() { return inputs_[3]; } |
| 538 | 538 |
| 539 DECLARE_CONCRETE_INSTRUCTION(ApplyArguments, "apply-arguments") | 539 DECLARE_CONCRETE_INSTRUCTION(ApplyArguments, "apply-arguments") |
| 540 DECLARE_HYDROGEN_ACCESSOR(ApplyArguments) |
| 540 }; | 541 }; |
| 541 | 542 |
| 542 | 543 |
| 543 class LAccessArgumentsAt final : public LTemplateInstruction<1, 3, 0> { | 544 class LAccessArgumentsAt final : public LTemplateInstruction<1, 3, 0> { |
| 544 public: | 545 public: |
| 545 LAccessArgumentsAt(LOperand* arguments, LOperand* length, LOperand* index) { | 546 LAccessArgumentsAt(LOperand* arguments, LOperand* length, LOperand* index) { |
| 546 inputs_[0] = arguments; | 547 inputs_[0] = arguments; |
| 547 inputs_[1] = length; | 548 inputs_[1] = length; |
| 548 inputs_[2] = index; | 549 inputs_[2] = index; |
| 549 } | 550 } |
| (...skipping 2119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2669 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2670 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2670 }; | 2671 }; |
| 2671 | 2672 |
| 2672 #undef DECLARE_HYDROGEN_ACCESSOR | 2673 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2673 #undef DECLARE_CONCRETE_INSTRUCTION | 2674 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2674 | 2675 |
| 2675 } // namespace internal | 2676 } // namespace internal |
| 2676 } // namespace v8 | 2677 } // namespace v8 |
| 2677 | 2678 |
| 2678 #endif // V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_ | 2679 #endif // V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |