| 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_MIPS_LITHIUM_MIPS_H_ | 5 #ifndef V8_MIPS_LITHIUM_MIPS_H_ |
| 6 #define V8_MIPS_LITHIUM_MIPS_H_ | 6 #define V8_MIPS_LITHIUM_MIPS_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 1155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1166 inputs_[2] = right; | 1166 inputs_[2] = right; |
| 1167 } | 1167 } |
| 1168 | 1168 |
| 1169 LOperand* context() { return inputs_[0]; } | 1169 LOperand* context() { return inputs_[0]; } |
| 1170 LOperand* left() { return inputs_[1]; } | 1170 LOperand* left() { return inputs_[1]; } |
| 1171 LOperand* right() { return inputs_[2]; } | 1171 LOperand* right() { return inputs_[2]; } |
| 1172 | 1172 |
| 1173 DECLARE_CONCRETE_INSTRUCTION(CmpT, "cmp-t") | 1173 DECLARE_CONCRETE_INSTRUCTION(CmpT, "cmp-t") |
| 1174 DECLARE_HYDROGEN_ACCESSOR(CompareGeneric) | 1174 DECLARE_HYDROGEN_ACCESSOR(CompareGeneric) |
| 1175 | 1175 |
| 1176 LanguageMode language_mode() { return hydrogen()->language_mode(); } |
| 1177 |
| 1176 Token::Value op() const { return hydrogen()->token(); } | 1178 Token::Value op() const { return hydrogen()->token(); } |
| 1177 }; | 1179 }; |
| 1178 | 1180 |
| 1179 | 1181 |
| 1180 class LInstanceOf final : public LTemplateInstruction<1, 3, 0> { | 1182 class LInstanceOf final : public LTemplateInstruction<1, 3, 0> { |
| 1181 public: | 1183 public: |
| 1182 LInstanceOf(LOperand* context, LOperand* left, LOperand* right) { | 1184 LInstanceOf(LOperand* context, LOperand* left, LOperand* right) { |
| 1183 inputs_[0] = context; | 1185 inputs_[0] = context; |
| 1184 inputs_[1] = left; | 1186 inputs_[1] = left; |
| 1185 inputs_[2] = right; | 1187 inputs_[2] = right; |
| (...skipping 1627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2813 | 2815 |
| 2814 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2816 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2815 }; | 2817 }; |
| 2816 | 2818 |
| 2817 #undef DECLARE_HYDROGEN_ACCESSOR | 2819 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2818 #undef DECLARE_CONCRETE_INSTRUCTION | 2820 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2819 | 2821 |
| 2820 } } // namespace v8::internal | 2822 } } // namespace v8::internal |
| 2821 | 2823 |
| 2822 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2824 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |