| 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_X64_LITHIUM_X64_H_ | 5 #ifndef V8_X64_LITHIUM_X64_H_ |
| 6 #define V8_X64_LITHIUM_X64_H_ | 6 #define V8_X64_LITHIUM_X64_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 1669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2855 | 2857 |
| 2856 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2858 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2857 }; | 2859 }; |
| 2858 | 2860 |
| 2859 #undef DECLARE_HYDROGEN_ACCESSOR | 2861 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2860 #undef DECLARE_CONCRETE_INSTRUCTION | 2862 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2861 | 2863 |
| 2862 } } // namespace v8::int | 2864 } } // namespace v8::int |
| 2863 | 2865 |
| 2864 #endif // V8_X64_LITHIUM_X64_H_ | 2866 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |