| 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 1156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1167 inputs_[2] = right; | 1167 inputs_[2] = right; |
| 1168 } | 1168 } |
| 1169 | 1169 |
| 1170 LOperand* context() { return inputs_[0]; } | 1170 LOperand* context() { return inputs_[0]; } |
| 1171 LOperand* left() { return inputs_[1]; } | 1171 LOperand* left() { return inputs_[1]; } |
| 1172 LOperand* right() { return inputs_[2]; } | 1172 LOperand* right() { return inputs_[2]; } |
| 1173 | 1173 |
| 1174 DECLARE_CONCRETE_INSTRUCTION(CmpT, "cmp-t") | 1174 DECLARE_CONCRETE_INSTRUCTION(CmpT, "cmp-t") |
| 1175 DECLARE_HYDROGEN_ACCESSOR(CompareGeneric) | 1175 DECLARE_HYDROGEN_ACCESSOR(CompareGeneric) |
| 1176 | 1176 |
| 1177 LanguageMode language_mode() { return hydrogen()->language_mode(); } |
| 1178 |
| 1177 Token::Value op() const { return hydrogen()->token(); } | 1179 Token::Value op() const { return hydrogen()->token(); } |
| 1178 }; | 1180 }; |
| 1179 | 1181 |
| 1180 | 1182 |
| 1181 class LInstanceOf final : public LTemplateInstruction<1, 3, 0> { | 1183 class LInstanceOf final : public LTemplateInstruction<1, 3, 0> { |
| 1182 public: | 1184 public: |
| 1183 LInstanceOf(LOperand* context, LOperand* left, LOperand* right) { | 1185 LInstanceOf(LOperand* context, LOperand* left, LOperand* right) { |
| 1184 inputs_[0] = context; | 1186 inputs_[0] = context; |
| 1185 inputs_[1] = left; | 1187 inputs_[1] = left; |
| 1186 inputs_[2] = right; | 1188 inputs_[2] = right; |
| (...skipping 1644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2831 | 2833 |
| 2832 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2834 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2833 }; | 2835 }; |
| 2834 | 2836 |
| 2835 #undef DECLARE_HYDROGEN_ACCESSOR | 2837 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2836 #undef DECLARE_CONCRETE_INSTRUCTION | 2838 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2837 | 2839 |
| 2838 } } // namespace v8::internal | 2840 } } // namespace v8::internal |
| 2839 | 2841 |
| 2840 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2842 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |