| 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 "hydrogen.h" | 8 #include "hydrogen.h" |
| 9 #include "lithium-allocator.h" | 9 #include "lithium-allocator.h" |
| 10 #include "lithium.h" | 10 #include "lithium.h" |
| (...skipping 890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 901 LOperand* value() { return inputs_[0]; } | 901 LOperand* value() { return inputs_[0]; } |
| 902 LOperand* temp() { return temps_[0]; } | 902 LOperand* temp() { return temps_[0]; } |
| 903 | 903 |
| 904 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") | 904 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") |
| 905 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) | 905 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) |
| 906 }; | 906 }; |
| 907 | 907 |
| 908 | 908 |
| 909 class LCheckMaps V8_FINAL : public LTemplateInstruction<0, 1, 1> { | 909 class LCheckMaps V8_FINAL : public LTemplateInstruction<0, 1, 1> { |
| 910 public: | 910 public: |
| 911 explicit LCheckMaps(LOperand* value, LOperand* temp) { | 911 LCheckMaps(LOperand* value = NULL, LOperand* temp = NULL) { |
| 912 inputs_[0] = value; | 912 inputs_[0] = value; |
| 913 temps_[0] = temp; | 913 temps_[0] = temp; |
| 914 } | 914 } |
| 915 | 915 |
| 916 LOperand* value() { return inputs_[0]; } | 916 LOperand* value() { return inputs_[0]; } |
| 917 LOperand* temp() { return temps_[0]; } | 917 LOperand* temp() { return temps_[0]; } |
| 918 | 918 |
| 919 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") | 919 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") |
| 920 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) | 920 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) |
| 921 }; | 921 }; |
| (...skipping 2170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3092 | 3092 |
| 3093 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 3093 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 3094 }; | 3094 }; |
| 3095 | 3095 |
| 3096 #undef DECLARE_HYDROGEN_ACCESSOR | 3096 #undef DECLARE_HYDROGEN_ACCESSOR |
| 3097 #undef DECLARE_CONCRETE_INSTRUCTION | 3097 #undef DECLARE_CONCRETE_INSTRUCTION |
| 3098 | 3098 |
| 3099 } } // namespace v8::internal | 3099 } } // namespace v8::internal |
| 3100 | 3100 |
| 3101 #endif // V8_ARM64_LITHIUM_ARM64_H_ | 3101 #endif // V8_ARM64_LITHIUM_ARM64_H_ |
| OLD | NEW |