OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_S390_LITHIUM_S390_H_ | 5 #ifndef V8_CRANKSHAFT_S390_LITHIUM_S390_H_ |
6 #define V8_CRANKSHAFT_S390_LITHIUM_S390_H_ | 6 #define V8_CRANKSHAFT_S390_LITHIUM_S390_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 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
496 public: | 496 public: |
497 LApplyArguments(LOperand* function, LOperand* receiver, LOperand* length, | 497 LApplyArguments(LOperand* function, LOperand* receiver, LOperand* length, |
498 LOperand* elements) { | 498 LOperand* elements) { |
499 inputs_[0] = function; | 499 inputs_[0] = function; |
500 inputs_[1] = receiver; | 500 inputs_[1] = receiver; |
501 inputs_[2] = length; | 501 inputs_[2] = length; |
502 inputs_[3] = elements; | 502 inputs_[3] = elements; |
503 } | 503 } |
504 | 504 |
505 DECLARE_CONCRETE_INSTRUCTION(ApplyArguments, "apply-arguments") | 505 DECLARE_CONCRETE_INSTRUCTION(ApplyArguments, "apply-arguments") |
| 506 DECLARE_HYDROGEN_ACCESSOR(ApplyArguments) |
506 | 507 |
507 LOperand* function() { return inputs_[0]; } | 508 LOperand* function() { return inputs_[0]; } |
508 LOperand* receiver() { return inputs_[1]; } | 509 LOperand* receiver() { return inputs_[1]; } |
509 LOperand* length() { return inputs_[2]; } | 510 LOperand* length() { return inputs_[2]; } |
510 LOperand* elements() { return inputs_[3]; } | 511 LOperand* elements() { return inputs_[3]; } |
511 }; | 512 }; |
512 | 513 |
513 class LAccessArgumentsAt final : public LTemplateInstruction<1, 3, 0> { | 514 class LAccessArgumentsAt final : public LTemplateInstruction<1, 3, 0> { |
514 public: | 515 public: |
515 LAccessArgumentsAt(LOperand* arguments, LOperand* length, LOperand* index) { | 516 LAccessArgumentsAt(LOperand* arguments, LOperand* length, LOperand* index) { |
(...skipping 1887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2403 | 2404 |
2404 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2405 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2405 }; | 2406 }; |
2406 | 2407 |
2407 #undef DECLARE_HYDROGEN_ACCESSOR | 2408 #undef DECLARE_HYDROGEN_ACCESSOR |
2408 #undef DECLARE_CONCRETE_INSTRUCTION | 2409 #undef DECLARE_CONCRETE_INSTRUCTION |
2409 } // namespace internal | 2410 } // namespace internal |
2410 } // namespace v8 | 2411 } // namespace v8 |
2411 | 2412 |
2412 #endif // V8_CRANKSHAFT_S390_LITHIUM_S390_H_ | 2413 #endif // V8_CRANKSHAFT_S390_LITHIUM_S390_H_ |
OLD | NEW |