| 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_ARM_LITHIUM_ARM_H_ | 5 #ifndef V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_ |
| 6 #define V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_ | 6 #define V8_CRANKSHAFT_ARM_LITHIUM_ARM_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 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 526 LOperand* receiver, | 526 LOperand* receiver, |
| 527 LOperand* length, | 527 LOperand* length, |
| 528 LOperand* elements) { | 528 LOperand* elements) { |
| 529 inputs_[0] = function; | 529 inputs_[0] = function; |
| 530 inputs_[1] = receiver; | 530 inputs_[1] = receiver; |
| 531 inputs_[2] = length; | 531 inputs_[2] = length; |
| 532 inputs_[3] = elements; | 532 inputs_[3] = elements; |
| 533 } | 533 } |
| 534 | 534 |
| 535 DECLARE_CONCRETE_INSTRUCTION(ApplyArguments, "apply-arguments") | 535 DECLARE_CONCRETE_INSTRUCTION(ApplyArguments, "apply-arguments") |
| 536 DECLARE_HYDROGEN_ACCESSOR(ApplyArguments) |
| 536 | 537 |
| 537 LOperand* function() { return inputs_[0]; } | 538 LOperand* function() { return inputs_[0]; } |
| 538 LOperand* receiver() { return inputs_[1]; } | 539 LOperand* receiver() { return inputs_[1]; } |
| 539 LOperand* length() { return inputs_[2]; } | 540 LOperand* length() { return inputs_[2]; } |
| 540 LOperand* elements() { return inputs_[3]; } | 541 LOperand* elements() { return inputs_[3]; } |
| 541 }; | 542 }; |
| 542 | 543 |
| 543 | 544 |
| 544 class LAccessArgumentsAt final : public LTemplateInstruction<1, 3, 0> { | 545 class LAccessArgumentsAt final : public LTemplateInstruction<1, 3, 0> { |
| 545 public: | 546 public: |
| (...skipping 2125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2671 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2672 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2672 }; | 2673 }; |
| 2673 | 2674 |
| 2674 #undef DECLARE_HYDROGEN_ACCESSOR | 2675 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2675 #undef DECLARE_CONCRETE_INSTRUCTION | 2676 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2676 | 2677 |
| 2677 } // namespace internal | 2678 } // namespace internal |
| 2678 } // namespace v8 | 2679 } // namespace v8 |
| 2679 | 2680 |
| 2680 #endif // V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_ | 2681 #endif // V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |