OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_PPC_LITHIUM_PPC_H_ | 5 #ifndef V8_PPC_LITHIUM_PPC_H_ |
6 #define V8_PPC_LITHIUM_PPC_H_ | 6 #define V8_PPC_LITHIUM_PPC_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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 V(MulI) \ | 124 V(MulI) \ |
125 V(MultiplyAddD) \ | 125 V(MultiplyAddD) \ |
126 V(MultiplySubD) \ | 126 V(MultiplySubD) \ |
127 V(NumberTagD) \ | 127 V(NumberTagD) \ |
128 V(NumberTagI) \ | 128 V(NumberTagI) \ |
129 V(NumberTagU) \ | 129 V(NumberTagU) \ |
130 V(NumberUntagD) \ | 130 V(NumberUntagD) \ |
131 V(OsrEntry) \ | 131 V(OsrEntry) \ |
132 V(Parameter) \ | 132 V(Parameter) \ |
133 V(Power) \ | 133 V(Power) \ |
| 134 V(Prologue) \ |
134 V(PushArgument) \ | 135 V(PushArgument) \ |
135 V(RegExpLiteral) \ | 136 V(RegExpLiteral) \ |
136 V(Return) \ | 137 V(Return) \ |
137 V(SeqStringGetChar) \ | 138 V(SeqStringGetChar) \ |
138 V(SeqStringSetChar) \ | 139 V(SeqStringSetChar) \ |
139 V(ShiftI) \ | 140 V(ShiftI) \ |
140 V(SmiTag) \ | 141 V(SmiTag) \ |
141 V(SmiUntag) \ | 142 V(SmiUntag) \ |
142 V(StackCheck) \ | 143 V(StackCheck) \ |
143 V(StoreCodeEntry) \ | 144 V(StoreCodeEntry) \ |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 void PrintDataTo(StringStream* stream) override; | 378 void PrintDataTo(StringStream* stream) override; |
378 bool IsControl() const override { return true; } | 379 bool IsControl() const override { return true; } |
379 | 380 |
380 int block_id() const { return block_->block_id(); } | 381 int block_id() const { return block_->block_id(); } |
381 | 382 |
382 private: | 383 private: |
383 HBasicBlock* block_; | 384 HBasicBlock* block_; |
384 }; | 385 }; |
385 | 386 |
386 | 387 |
| 388 class LPrologue final : public LTemplateInstruction<0, 0, 0> { |
| 389 public: |
| 390 DECLARE_CONCRETE_INSTRUCTION(Prologue, "prologue") |
| 391 }; |
| 392 |
| 393 |
387 class LLazyBailout final : public LTemplateInstruction<0, 0, 0> { | 394 class LLazyBailout final : public LTemplateInstruction<0, 0, 0> { |
388 public: | 395 public: |
389 LLazyBailout() : gap_instructions_size_(0) {} | 396 LLazyBailout() : gap_instructions_size_(0) {} |
390 | 397 |
391 DECLARE_CONCRETE_INSTRUCTION(LazyBailout, "lazy-bailout") | 398 DECLARE_CONCRETE_INSTRUCTION(LazyBailout, "lazy-bailout") |
392 | 399 |
393 void set_gap_instructions_size(int gap_instructions_size) { | 400 void set_gap_instructions_size(int gap_instructions_size) { |
394 gap_instructions_size_ = gap_instructions_size; | 401 gap_instructions_size_ = gap_instructions_size; |
395 } | 402 } |
396 int gap_instructions_size() { return gap_instructions_size_; } | 403 int gap_instructions_size() { return gap_instructions_size_; } |
(...skipping 2365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2762 | 2769 |
2763 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2770 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2764 }; | 2771 }; |
2765 | 2772 |
2766 #undef DECLARE_HYDROGEN_ACCESSOR | 2773 #undef DECLARE_HYDROGEN_ACCESSOR |
2767 #undef DECLARE_CONCRETE_INSTRUCTION | 2774 #undef DECLARE_CONCRETE_INSTRUCTION |
2768 } | 2775 } |
2769 } // namespace v8::internal | 2776 } // namespace v8::internal |
2770 | 2777 |
2771 #endif // V8_PPC_LITHIUM_PPC_H_ | 2778 #endif // V8_PPC_LITHIUM_PPC_H_ |
OLD | NEW |