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_X87_LITHIUM_X87_H_ | 5 #ifndef V8_X87_LITHIUM_X87_H_ |
6 #define V8_X87_LITHIUM_X87_H_ | 6 #define V8_X87_LITHIUM_X87_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 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 public: | 425 public: |
426 explicit LDummyUse(LOperand* value) { | 426 explicit LDummyUse(LOperand* value) { |
427 inputs_[0] = value; | 427 inputs_[0] = value; |
428 } | 428 } |
429 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") | 429 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") |
430 }; | 430 }; |
431 | 431 |
432 | 432 |
433 class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> { | 433 class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> { |
434 public: | 434 public: |
| 435 virtual bool IsControl() const V8_OVERRIDE { return true; } |
435 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") | 436 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") |
436 DECLARE_HYDROGEN_ACCESSOR(Deoptimize) | 437 DECLARE_HYDROGEN_ACCESSOR(Deoptimize) |
437 }; | 438 }; |
438 | 439 |
439 | 440 |
440 class LLabel V8_FINAL : public LGap { | 441 class LLabel V8_FINAL : public LGap { |
441 public: | 442 public: |
442 explicit LLabel(HBasicBlock* block) | 443 explicit LLabel(HBasicBlock* block) |
443 : LGap(block), replacement_(NULL) { } | 444 : LGap(block), replacement_(NULL) { } |
444 | 445 |
(...skipping 2420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2865 | 2866 |
2866 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2867 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2867 }; | 2868 }; |
2868 | 2869 |
2869 #undef DECLARE_HYDROGEN_ACCESSOR | 2870 #undef DECLARE_HYDROGEN_ACCESSOR |
2870 #undef DECLARE_CONCRETE_INSTRUCTION | 2871 #undef DECLARE_CONCRETE_INSTRUCTION |
2871 | 2872 |
2872 } } // namespace v8::internal | 2873 } } // namespace v8::internal |
2873 | 2874 |
2874 #endif // V8_X87_LITHIUM_X87_H_ | 2875 #endif // V8_X87_LITHIUM_X87_H_ |
OLD | NEW |