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 "hydrogen.h" | 8 #include "hydrogen.h" |
9 #include "lithium-allocator.h" | 9 #include "lithium-allocator.h" |
10 #include "lithium.h" | 10 #include "lithium.h" |
(...skipping 1270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1281 | 1281 |
1282 LOperand* context() { return inputs_[0]; } | 1282 LOperand* context() { return inputs_[0]; } |
1283 | 1283 |
1284 DECLARE_CONCRETE_INSTRUCTION(DeclareGlobals, "declare-globals") | 1284 DECLARE_CONCRETE_INSTRUCTION(DeclareGlobals, "declare-globals") |
1285 DECLARE_HYDROGEN_ACCESSOR(DeclareGlobals) | 1285 DECLARE_HYDROGEN_ACCESSOR(DeclareGlobals) |
1286 }; | 1286 }; |
1287 | 1287 |
1288 | 1288 |
1289 class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> { | 1289 class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> { |
1290 public: | 1290 public: |
| 1291 virtual bool IsControl() const V8_OVERRIDE { return true; } |
1291 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") | 1292 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") |
1292 DECLARE_HYDROGEN_ACCESSOR(Deoptimize) | 1293 DECLARE_HYDROGEN_ACCESSOR(Deoptimize) |
1293 }; | 1294 }; |
1294 | 1295 |
1295 | 1296 |
1296 class LDivByPowerOf2I V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 1297 class LDivByPowerOf2I V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
1297 public: | 1298 public: |
1298 LDivByPowerOf2I(LOperand* dividend, int32_t divisor) { | 1299 LDivByPowerOf2I(LOperand* dividend, int32_t divisor) { |
1299 inputs_[0] = dividend; | 1300 inputs_[0] = dividend; |
1300 divisor_ = divisor; | 1301 divisor_ = divisor; |
(...skipping 1924 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3225 | 3226 |
3226 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 3227 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
3227 }; | 3228 }; |
3228 | 3229 |
3229 #undef DECLARE_HYDROGEN_ACCESSOR | 3230 #undef DECLARE_HYDROGEN_ACCESSOR |
3230 #undef DECLARE_CONCRETE_INSTRUCTION | 3231 #undef DECLARE_CONCRETE_INSTRUCTION |
3231 | 3232 |
3232 } } // namespace v8::internal | 3233 } } // namespace v8::internal |
3233 | 3234 |
3234 #endif // V8_ARM64_LITHIUM_ARM64_H_ | 3235 #endif // V8_ARM64_LITHIUM_ARM64_H_ |
OLD | NEW |