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_ARM64_LITHIUM_ARM64_H_ | 5 #ifndef V8_ARM64_LITHIUM_ARM64_H_ |
6 #define V8_ARM64_LITHIUM_ARM64_H_ | 6 #define V8_ARM64_LITHIUM_ARM64_H_ |
7 | 7 |
8 #include "src/hydrogen.h" | 8 #include "src/hydrogen.h" |
9 #include "src/lithium.h" | 9 #include "src/lithium.h" |
10 #include "src/lithium-allocator.h" | 10 #include "src/lithium-allocator.h" |
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 | 445 |
446 DECLARE_CONCRETE_INSTRUCTION(Drop, "drop") | 446 DECLARE_CONCRETE_INSTRUCTION(Drop, "drop") |
447 | 447 |
448 private: | 448 private: |
449 int count_; | 449 int count_; |
450 }; | 450 }; |
451 | 451 |
452 | 452 |
453 class LDummy V8_FINAL : public LTemplateInstruction<1, 0, 0> { | 453 class LDummy V8_FINAL : public LTemplateInstruction<1, 0, 0> { |
454 public: | 454 public: |
455 explicit LDummy() { } | 455 LDummy() {} |
456 DECLARE_CONCRETE_INSTRUCTION(Dummy, "dummy") | 456 DECLARE_CONCRETE_INSTRUCTION(Dummy, "dummy") |
457 }; | 457 }; |
458 | 458 |
459 | 459 |
460 class LDummyUse V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 460 class LDummyUse V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
461 public: | 461 public: |
462 explicit LDummyUse(LOperand* value) { | 462 explicit LDummyUse(LOperand* value) { |
463 inputs_[0] = value; | 463 inputs_[0] = value; |
464 } | 464 } |
465 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") | 465 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") |
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
936 LOperand* value() { return inputs_[0]; } | 936 LOperand* value() { return inputs_[0]; } |
937 LOperand* temp() { return temps_[0]; } | 937 LOperand* temp() { return temps_[0]; } |
938 | 938 |
939 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") | 939 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") |
940 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) | 940 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) |
941 }; | 941 }; |
942 | 942 |
943 | 943 |
944 class LCheckMaps V8_FINAL : public LTemplateInstruction<0, 1, 1> { | 944 class LCheckMaps V8_FINAL : public LTemplateInstruction<0, 1, 1> { |
945 public: | 945 public: |
946 LCheckMaps(LOperand* value = NULL, LOperand* temp = NULL) { | 946 explicit LCheckMaps(LOperand* value = NULL, LOperand* temp = NULL) { |
947 inputs_[0] = value; | 947 inputs_[0] = value; |
948 temps_[0] = temp; | 948 temps_[0] = temp; |
949 } | 949 } |
950 | 950 |
951 LOperand* value() { return inputs_[0]; } | 951 LOperand* value() { return inputs_[0]; } |
952 LOperand* temp() { return temps_[0]; } | 952 LOperand* temp() { return temps_[0]; } |
953 | 953 |
954 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") | 954 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") |
955 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) | 955 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) |
956 }; | 956 }; |
(...skipping 2305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3262 | 3262 |
3263 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 3263 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
3264 }; | 3264 }; |
3265 | 3265 |
3266 #undef DECLARE_HYDROGEN_ACCESSOR | 3266 #undef DECLARE_HYDROGEN_ACCESSOR |
3267 #undef DECLARE_CONCRETE_INSTRUCTION | 3267 #undef DECLARE_CONCRETE_INSTRUCTION |
3268 | 3268 |
3269 } } // namespace v8::internal | 3269 } } // namespace v8::internal |
3270 | 3270 |
3271 #endif // V8_ARM64_LITHIUM_ARM64_H_ | 3271 #endif // V8_ARM64_LITHIUM_ARM64_H_ |
OLD | NEW |