| 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 "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 1163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1174 inputs_[2] = right; | 1174 inputs_[2] = right; |
| 1175 } | 1175 } |
| 1176 | 1176 |
| 1177 LOperand* context() { return inputs_[0]; } | 1177 LOperand* context() { return inputs_[0]; } |
| 1178 LOperand* left() { return inputs_[1]; } | 1178 LOperand* left() { return inputs_[1]; } |
| 1179 LOperand* right() { return inputs_[2]; } | 1179 LOperand* right() { return inputs_[2]; } |
| 1180 | 1180 |
| 1181 DECLARE_CONCRETE_INSTRUCTION(CmpT, "cmp-t") | 1181 DECLARE_CONCRETE_INSTRUCTION(CmpT, "cmp-t") |
| 1182 DECLARE_HYDROGEN_ACCESSOR(CompareGeneric) | 1182 DECLARE_HYDROGEN_ACCESSOR(CompareGeneric) |
| 1183 | 1183 |
| 1184 LanguageMode language_mode() { return hydrogen()->language_mode(); } |
| 1185 |
| 1184 Token::Value op() const { return hydrogen()->token(); } | 1186 Token::Value op() const { return hydrogen()->token(); } |
| 1185 }; | 1187 }; |
| 1186 | 1188 |
| 1187 | 1189 |
| 1188 class LCompareMinusZeroAndBranch final : public LControlInstruction<1, 1> { | 1190 class LCompareMinusZeroAndBranch final : public LControlInstruction<1, 1> { |
| 1189 public: | 1191 public: |
| 1190 LCompareMinusZeroAndBranch(LOperand* value, LOperand* temp) { | 1192 LCompareMinusZeroAndBranch(LOperand* value, LOperand* temp) { |
| 1191 inputs_[0] = value; | 1193 inputs_[0] = value; |
| 1192 temps_[0] = temp; | 1194 temps_[0] = temp; |
| 1193 } | 1195 } |
| (...skipping 2035 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3229 | 3231 |
| 3230 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 3232 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 3231 }; | 3233 }; |
| 3232 | 3234 |
| 3233 #undef DECLARE_HYDROGEN_ACCESSOR | 3235 #undef DECLARE_HYDROGEN_ACCESSOR |
| 3234 #undef DECLARE_CONCRETE_INSTRUCTION | 3236 #undef DECLARE_CONCRETE_INSTRUCTION |
| 3235 | 3237 |
| 3236 } } // namespace v8::internal | 3238 } } // namespace v8::internal |
| 3237 | 3239 |
| 3238 #endif // V8_ARM64_LITHIUM_ARM64_H_ | 3240 #endif // V8_ARM64_LITHIUM_ARM64_H_ |
| OLD | NEW |