OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_ARM64_LITHIUM_ARM64_H_ | 5 #ifndef V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ |
6 #define V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ | 6 #define V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_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 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
626 LOperand* receiver, | 626 LOperand* receiver, |
627 LOperand* length, | 627 LOperand* length, |
628 LOperand* elements) { | 628 LOperand* elements) { |
629 inputs_[0] = function; | 629 inputs_[0] = function; |
630 inputs_[1] = receiver; | 630 inputs_[1] = receiver; |
631 inputs_[2] = length; | 631 inputs_[2] = length; |
632 inputs_[3] = elements; | 632 inputs_[3] = elements; |
633 } | 633 } |
634 | 634 |
635 DECLARE_CONCRETE_INSTRUCTION(ApplyArguments, "apply-arguments") | 635 DECLARE_CONCRETE_INSTRUCTION(ApplyArguments, "apply-arguments") |
| 636 DECLARE_HYDROGEN_ACCESSOR(ApplyArguments) |
636 | 637 |
637 LOperand* function() { return inputs_[0]; } | 638 LOperand* function() { return inputs_[0]; } |
638 LOperand* receiver() { return inputs_[1]; } | 639 LOperand* receiver() { return inputs_[1]; } |
639 LOperand* length() { return inputs_[2]; } | 640 LOperand* length() { return inputs_[2]; } |
640 LOperand* elements() { return inputs_[3]; } | 641 LOperand* elements() { return inputs_[3]; } |
641 }; | 642 }; |
642 | 643 |
643 | 644 |
644 class LArgumentsElements final : public LTemplateInstruction<1, 0, 1> { | 645 class LArgumentsElements final : public LTemplateInstruction<1, 0, 1> { |
645 public: | 646 public: |
(...skipping 2397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3043 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 3044 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
3044 }; | 3045 }; |
3045 | 3046 |
3046 #undef DECLARE_HYDROGEN_ACCESSOR | 3047 #undef DECLARE_HYDROGEN_ACCESSOR |
3047 #undef DECLARE_CONCRETE_INSTRUCTION | 3048 #undef DECLARE_CONCRETE_INSTRUCTION |
3048 | 3049 |
3049 } // namespace internal | 3050 } // namespace internal |
3050 } // namespace v8 | 3051 } // namespace v8 |
3051 | 3052 |
3052 #endif // V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ | 3053 #endif // V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ |
OLD | NEW |