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_ARM_LITHIUM_ARM_H_ | 5 #ifndef V8_ARM_LITHIUM_ARM_H_ |
6 #define V8_ARM_LITHIUM_ARM_H_ | 6 #define V8_ARM_LITHIUM_ARM_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 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
417 public: | 417 public: |
418 explicit LDummyUse(LOperand* value) { | 418 explicit LDummyUse(LOperand* value) { |
419 inputs_[0] = value; | 419 inputs_[0] = value; |
420 } | 420 } |
421 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") | 421 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") |
422 }; | 422 }; |
423 | 423 |
424 | 424 |
425 class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> { | 425 class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> { |
426 public: | 426 public: |
| 427 virtual bool IsControl() const V8_OVERRIDE { return true; } |
427 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") | 428 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") |
428 DECLARE_HYDROGEN_ACCESSOR(Deoptimize) | 429 DECLARE_HYDROGEN_ACCESSOR(Deoptimize) |
429 }; | 430 }; |
430 | 431 |
431 | 432 |
432 class LLabel V8_FINAL : public LGap { | 433 class LLabel V8_FINAL : public LGap { |
433 public: | 434 public: |
434 explicit LLabel(HBasicBlock* block) | 435 explicit LLabel(HBasicBlock* block) |
435 : LGap(block), replacement_(NULL) { } | 436 : LGap(block), replacement_(NULL) { } |
436 | 437 |
(...skipping 2420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2857 | 2858 |
2858 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2859 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2859 }; | 2860 }; |
2860 | 2861 |
2861 #undef DECLARE_HYDROGEN_ACCESSOR | 2862 #undef DECLARE_HYDROGEN_ACCESSOR |
2862 #undef DECLARE_CONCRETE_INSTRUCTION | 2863 #undef DECLARE_CONCRETE_INSTRUCTION |
2863 | 2864 |
2864 } } // namespace v8::internal | 2865 } } // namespace v8::internal |
2865 | 2866 |
2866 #endif // V8_ARM_LITHIUM_ARM_H_ | 2867 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |