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_ARM_LITHIUM_ARM_H_ | 5 #ifndef V8_ARM_LITHIUM_ARM_H_ |
6 #define V8_ARM_LITHIUM_ARM_H_ | 6 #define V8_ARM_LITHIUM_ARM_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 1178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1189 inputs_[2] = right; | 1189 inputs_[2] = right; |
1190 } | 1190 } |
1191 | 1191 |
1192 LOperand* context() { return inputs_[0]; } | 1192 LOperand* context() { return inputs_[0]; } |
1193 LOperand* left() { return inputs_[1]; } | 1193 LOperand* left() { return inputs_[1]; } |
1194 LOperand* right() { return inputs_[2]; } | 1194 LOperand* right() { return inputs_[2]; } |
1195 | 1195 |
1196 DECLARE_CONCRETE_INSTRUCTION(CmpT, "cmp-t") | 1196 DECLARE_CONCRETE_INSTRUCTION(CmpT, "cmp-t") |
1197 DECLARE_HYDROGEN_ACCESSOR(CompareGeneric) | 1197 DECLARE_HYDROGEN_ACCESSOR(CompareGeneric) |
1198 | 1198 |
| 1199 LanguageMode language_mode() { return hydrogen()->language_mode(); } |
| 1200 |
1199 Token::Value op() const { return hydrogen()->token(); } | 1201 Token::Value op() const { return hydrogen()->token(); } |
1200 }; | 1202 }; |
1201 | 1203 |
1202 | 1204 |
1203 class LInstanceOf final : public LTemplateInstruction<1, 3, 0> { | 1205 class LInstanceOf final : public LTemplateInstruction<1, 3, 0> { |
1204 public: | 1206 public: |
1205 LInstanceOf(LOperand* context, LOperand* left, LOperand* right) { | 1207 LInstanceOf(LOperand* context, LOperand* left, LOperand* right) { |
1206 inputs_[0] = context; | 1208 inputs_[0] = context; |
1207 inputs_[1] = left; | 1209 inputs_[1] = left; |
1208 inputs_[2] = right; | 1210 inputs_[2] = right; |
(...skipping 1664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2873 | 2875 |
2874 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2876 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2875 }; | 2877 }; |
2876 | 2878 |
2877 #undef DECLARE_HYDROGEN_ACCESSOR | 2879 #undef DECLARE_HYDROGEN_ACCESSOR |
2878 #undef DECLARE_CONCRETE_INSTRUCTION | 2880 #undef DECLARE_CONCRETE_INSTRUCTION |
2879 | 2881 |
2880 } } // namespace v8::internal | 2882 } } // namespace v8::internal |
2881 | 2883 |
2882 #endif // V8_ARM_LITHIUM_ARM_H_ | 2884 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |