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 "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 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 public: | 422 public: |
423 explicit LDummyUse(LOperand* value) { | 423 explicit LDummyUse(LOperand* value) { |
424 inputs_[0] = value; | 424 inputs_[0] = value; |
425 } | 425 } |
426 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") | 426 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") |
427 }; | 427 }; |
428 | 428 |
429 | 429 |
430 class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> { | 430 class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> { |
431 public: | 431 public: |
| 432 virtual bool IsControl() const V8_OVERRIDE { return true; } |
432 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") | 433 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") |
433 DECLARE_HYDROGEN_ACCESSOR(Deoptimize) | 434 DECLARE_HYDROGEN_ACCESSOR(Deoptimize) |
434 }; | 435 }; |
435 | 436 |
436 | 437 |
437 class LLabel V8_FINAL : public LGap { | 438 class LLabel V8_FINAL : public LGap { |
438 public: | 439 public: |
439 explicit LLabel(HBasicBlock* block) | 440 explicit LLabel(HBasicBlock* block) |
440 : LGap(block), replacement_(NULL) { } | 441 : LGap(block), replacement_(NULL) { } |
441 | 442 |
(...skipping 2383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2825 | 2826 |
2826 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2827 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2827 }; | 2828 }; |
2828 | 2829 |
2829 #undef DECLARE_HYDROGEN_ACCESSOR | 2830 #undef DECLARE_HYDROGEN_ACCESSOR |
2830 #undef DECLARE_CONCRETE_INSTRUCTION | 2831 #undef DECLARE_CONCRETE_INSTRUCTION |
2831 | 2832 |
2832 } } // namespace v8::int | 2833 } } // namespace v8::int |
2833 | 2834 |
2834 #endif // V8_X64_LITHIUM_X64_H_ | 2835 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |