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_IA32_LITHIUM_IA32_H_ | 5 #ifndef V8_IA32_LITHIUM_IA32_H_ |
6 #define V8_IA32_LITHIUM_IA32_H_ | 6 #define V8_IA32_LITHIUM_IA32_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 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 public: | 408 public: |
409 explicit LDummyUse(LOperand* value) { | 409 explicit LDummyUse(LOperand* value) { |
410 inputs_[0] = value; | 410 inputs_[0] = value; |
411 } | 411 } |
412 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") | 412 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") |
413 }; | 413 }; |
414 | 414 |
415 | 415 |
416 class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> { | 416 class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> { |
417 public: | 417 public: |
| 418 virtual bool IsControl() const V8_OVERRIDE { return true; } |
418 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") | 419 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") |
419 DECLARE_HYDROGEN_ACCESSOR(Deoptimize) | 420 DECLARE_HYDROGEN_ACCESSOR(Deoptimize) |
420 }; | 421 }; |
421 | 422 |
422 | 423 |
423 class LLabel V8_FINAL : public LGap { | 424 class LLabel V8_FINAL : public LGap { |
424 public: | 425 public: |
425 explicit LLabel(HBasicBlock* block) | 426 explicit LLabel(HBasicBlock* block) |
426 : LGap(block), replacement_(NULL) { } | 427 : LGap(block), replacement_(NULL) { } |
427 | 428 |
(...skipping 2421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2849 | 2850 |
2850 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2851 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2851 }; | 2852 }; |
2852 | 2853 |
2853 #undef DECLARE_HYDROGEN_ACCESSOR | 2854 #undef DECLARE_HYDROGEN_ACCESSOR |
2854 #undef DECLARE_CONCRETE_INSTRUCTION | 2855 #undef DECLARE_CONCRETE_INSTRUCTION |
2855 | 2856 |
2856 } } // namespace v8::internal | 2857 } } // namespace v8::internal |
2857 | 2858 |
2858 #endif // V8_IA32_LITHIUM_IA32_H_ | 2859 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |