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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 V(ModI) \ | 125 V(ModI) \ |
126 V(MulI) \ | 126 V(MulI) \ |
127 V(MulS) \ | 127 V(MulS) \ |
128 V(MultiplyAddD) \ | 128 V(MultiplyAddD) \ |
129 V(NumberTagD) \ | 129 V(NumberTagD) \ |
130 V(NumberTagU) \ | 130 V(NumberTagU) \ |
131 V(NumberUntagD) \ | 131 V(NumberUntagD) \ |
132 V(OsrEntry) \ | 132 V(OsrEntry) \ |
133 V(Parameter) \ | 133 V(Parameter) \ |
134 V(Power) \ | 134 V(Power) \ |
| 135 V(Prologue) \ |
135 V(PushArgument) \ | 136 V(PushArgument) \ |
136 V(RegExpLiteral) \ | 137 V(RegExpLiteral) \ |
137 V(Return) \ | 138 V(Return) \ |
138 V(SeqStringGetChar) \ | 139 V(SeqStringGetChar) \ |
139 V(SeqStringSetChar) \ | 140 V(SeqStringSetChar) \ |
140 V(ShiftI) \ | 141 V(ShiftI) \ |
141 V(SmiTag) \ | 142 V(SmiTag) \ |
142 V(SmiUntag) \ | 143 V(SmiUntag) \ |
143 V(StackCheck) \ | 144 V(StackCheck) \ |
144 V(StoreCodeEntry) \ | 145 V(StoreCodeEntry) \ |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 void PrintDataTo(StringStream* stream) override; | 383 void PrintDataTo(StringStream* stream) override; |
383 bool IsControl() const override { return true; } | 384 bool IsControl() const override { return true; } |
384 | 385 |
385 int block_id() const { return block_->block_id(); } | 386 int block_id() const { return block_->block_id(); } |
386 | 387 |
387 private: | 388 private: |
388 HBasicBlock* block_; | 389 HBasicBlock* block_; |
389 }; | 390 }; |
390 | 391 |
391 | 392 |
| 393 class LPrologue final : public LTemplateInstruction<0, 0, 0> { |
| 394 public: |
| 395 DECLARE_CONCRETE_INSTRUCTION(Prologue, "prologue") |
| 396 }; |
| 397 |
| 398 |
392 class LLazyBailout final : public LTemplateInstruction<0, 0, 0> { | 399 class LLazyBailout final : public LTemplateInstruction<0, 0, 0> { |
393 public: | 400 public: |
394 LLazyBailout() : gap_instructions_size_(0) { } | 401 LLazyBailout() : gap_instructions_size_(0) { } |
395 | 402 |
396 DECLARE_CONCRETE_INSTRUCTION(LazyBailout, "lazy-bailout") | 403 DECLARE_CONCRETE_INSTRUCTION(LazyBailout, "lazy-bailout") |
397 | 404 |
398 void set_gap_instructions_size(int gap_instructions_size) { | 405 void set_gap_instructions_size(int gap_instructions_size) { |
399 gap_instructions_size_ = gap_instructions_size; | 406 gap_instructions_size_ = gap_instructions_size; |
400 } | 407 } |
401 int gap_instructions_size() { return gap_instructions_size_; } | 408 int gap_instructions_size() { return gap_instructions_size_; } |
(...skipping 2490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2892 | 2899 |
2893 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2900 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2894 }; | 2901 }; |
2895 | 2902 |
2896 #undef DECLARE_HYDROGEN_ACCESSOR | 2903 #undef DECLARE_HYDROGEN_ACCESSOR |
2897 #undef DECLARE_CONCRETE_INSTRUCTION | 2904 #undef DECLARE_CONCRETE_INSTRUCTION |
2898 | 2905 |
2899 } } // namespace v8::internal | 2906 } } // namespace v8::internal |
2900 | 2907 |
2901 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2908 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |