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_MIPS_LITHIUM_MIPS_H_ | 5 #ifndef V8_MIPS_LITHIUM_MIPS_H_ |
6 #define V8_MIPS_LITHIUM_MIPS_H_ | 6 #define V8_MIPS_LITHIUM_MIPS_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 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 public: | 414 public: |
415 explicit LDummyUse(LOperand* value) { | 415 explicit LDummyUse(LOperand* value) { |
416 inputs_[0] = value; | 416 inputs_[0] = value; |
417 } | 417 } |
418 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") | 418 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") |
419 }; | 419 }; |
420 | 420 |
421 | 421 |
422 class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> { | 422 class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> { |
423 public: | 423 public: |
| 424 virtual bool IsControl() const V8_OVERRIDE { return true; } |
424 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") | 425 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") |
425 DECLARE_HYDROGEN_ACCESSOR(Deoptimize) | 426 DECLARE_HYDROGEN_ACCESSOR(Deoptimize) |
426 }; | 427 }; |
427 | 428 |
428 | 429 |
429 class LLabel V8_FINAL : public LGap { | 430 class LLabel V8_FINAL : public LGap { |
430 public: | 431 public: |
431 explicit LLabel(HBasicBlock* block) | 432 explicit LLabel(HBasicBlock* block) |
432 : LGap(block), replacement_(NULL) { } | 433 : LGap(block), replacement_(NULL) { } |
433 | 434 |
(...skipping 2379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2813 | 2814 |
2814 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2815 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2815 }; | 2816 }; |
2816 | 2817 |
2817 #undef DECLARE_HYDROGEN_ACCESSOR | 2818 #undef DECLARE_HYDROGEN_ACCESSOR |
2818 #undef DECLARE_CONCRETE_INSTRUCTION | 2819 #undef DECLARE_CONCRETE_INSTRUCTION |
2819 | 2820 |
2820 } } // namespace v8::internal | 2821 } } // namespace v8::internal |
2821 | 2822 |
2822 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2823 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |