| 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 "src/hydrogen.h" | 8 #include "src/hydrogen.h" |
| 9 #include "src/lithium.h" | 9 #include "src/lithium.h" |
| 10 #include "src/lithium-allocator.h" | 10 #include "src/lithium-allocator.h" |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 V(ModI) \ | 123 V(ModI) \ |
| 124 V(MulI) \ | 124 V(MulI) \ |
| 125 V(MultiplyAddD) \ | 125 V(MultiplyAddD) \ |
| 126 V(NumberTagD) \ | 126 V(NumberTagD) \ |
| 127 V(NumberTagI) \ | 127 V(NumberTagI) \ |
| 128 V(NumberTagU) \ | 128 V(NumberTagU) \ |
| 129 V(NumberUntagD) \ | 129 V(NumberUntagD) \ |
| 130 V(OsrEntry) \ | 130 V(OsrEntry) \ |
| 131 V(Parameter) \ | 131 V(Parameter) \ |
| 132 V(Power) \ | 132 V(Power) \ |
| 133 V(Prologue) \ |
| 133 V(PushArgument) \ | 134 V(PushArgument) \ |
| 134 V(RegExpLiteral) \ | 135 V(RegExpLiteral) \ |
| 135 V(Return) \ | 136 V(Return) \ |
| 136 V(SeqStringGetChar) \ | 137 V(SeqStringGetChar) \ |
| 137 V(SeqStringSetChar) \ | 138 V(SeqStringSetChar) \ |
| 138 V(ShiftI) \ | 139 V(ShiftI) \ |
| 139 V(SmiTag) \ | 140 V(SmiTag) \ |
| 140 V(SmiUntag) \ | 141 V(SmiUntag) \ |
| 141 V(StackCheck) \ | 142 V(StackCheck) \ |
| 142 V(StoreCodeEntry) \ | 143 V(StoreCodeEntry) \ |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 void PrintDataTo(StringStream* stream) override; | 380 void PrintDataTo(StringStream* stream) override; |
| 380 bool IsControl() const override { return true; } | 381 bool IsControl() const override { return true; } |
| 381 | 382 |
| 382 int block_id() const { return block_->block_id(); } | 383 int block_id() const { return block_->block_id(); } |
| 383 | 384 |
| 384 private: | 385 private: |
| 385 HBasicBlock* block_; | 386 HBasicBlock* block_; |
| 386 }; | 387 }; |
| 387 | 388 |
| 388 | 389 |
| 390 class LPrologue final : public LTemplateInstruction<0, 0, 0> { |
| 391 public: |
| 392 DECLARE_CONCRETE_INSTRUCTION(Prologue, "prologue") |
| 393 }; |
| 394 |
| 395 |
| 389 class LLazyBailout final : public LTemplateInstruction<0, 0, 0> { | 396 class LLazyBailout final : public LTemplateInstruction<0, 0, 0> { |
| 390 public: | 397 public: |
| 391 LLazyBailout() : gap_instructions_size_(0) { } | 398 LLazyBailout() : gap_instructions_size_(0) { } |
| 392 | 399 |
| 393 DECLARE_CONCRETE_INSTRUCTION(LazyBailout, "lazy-bailout") | 400 DECLARE_CONCRETE_INSTRUCTION(LazyBailout, "lazy-bailout") |
| 394 | 401 |
| 395 void set_gap_instructions_size(int gap_instructions_size) { | 402 void set_gap_instructions_size(int gap_instructions_size) { |
| 396 gap_instructions_size_ = gap_instructions_size; | 403 gap_instructions_size_ = gap_instructions_size; |
| 397 } | 404 } |
| 398 int gap_instructions_size() { return gap_instructions_size_; } | 405 int gap_instructions_size() { return gap_instructions_size_; } |
| (...skipping 2447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2846 | 2853 |
| 2847 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2854 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2848 }; | 2855 }; |
| 2849 | 2856 |
| 2850 #undef DECLARE_HYDROGEN_ACCESSOR | 2857 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2851 #undef DECLARE_CONCRETE_INSTRUCTION | 2858 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2852 | 2859 |
| 2853 } } // namespace v8::internal | 2860 } } // namespace v8::internal |
| 2854 | 2861 |
| 2855 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2862 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |