| 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 "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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 V(ModByPowerOf2I) \ | 126 V(ModByPowerOf2I) \ |
| 127 V(ModI) \ | 127 V(ModI) \ |
| 128 V(MulI) \ | 128 V(MulI) \ |
| 129 V(NumberTagD) \ | 129 V(NumberTagD) \ |
| 130 V(NumberTagI) \ | 130 V(NumberTagI) \ |
| 131 V(NumberTagU) \ | 131 V(NumberTagU) \ |
| 132 V(NumberUntagD) \ | 132 V(NumberUntagD) \ |
| 133 V(OsrEntry) \ | 133 V(OsrEntry) \ |
| 134 V(Parameter) \ | 134 V(Parameter) \ |
| 135 V(Power) \ | 135 V(Power) \ |
| 136 V(Prologue) \ |
| 136 V(PushArgument) \ | 137 V(PushArgument) \ |
| 137 V(RegExpLiteral) \ | 138 V(RegExpLiteral) \ |
| 138 V(Return) \ | 139 V(Return) \ |
| 139 V(SeqStringGetChar) \ | 140 V(SeqStringGetChar) \ |
| 140 V(SeqStringSetChar) \ | 141 V(SeqStringSetChar) \ |
| 141 V(ShiftI) \ | 142 V(ShiftI) \ |
| 142 V(SmiTag) \ | 143 V(SmiTag) \ |
| 143 V(SmiUntag) \ | 144 V(SmiUntag) \ |
| 144 V(StackCheck) \ | 145 V(StackCheck) \ |
| 145 V(StoreCodeEntry) \ | 146 V(StoreCodeEntry) \ |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 387 return false; | 388 return false; |
| 388 } | 389 } |
| 389 | 390 |
| 390 bool jumps_to_join() const { return block_->predecessors()->length() > 1; } | 391 bool jumps_to_join() const { return block_->predecessors()->length() > 1; } |
| 391 | 392 |
| 392 private: | 393 private: |
| 393 HBasicBlock* block_; | 394 HBasicBlock* block_; |
| 394 }; | 395 }; |
| 395 | 396 |
| 396 | 397 |
| 398 class LPrologue final : public LTemplateInstruction<0, 0, 0> { |
| 399 public: |
| 400 DECLARE_CONCRETE_INSTRUCTION(Prologue, "prologue") |
| 401 }; |
| 402 |
| 403 |
| 397 class LLazyBailout final : public LTemplateInstruction<0, 0, 0> { | 404 class LLazyBailout final : public LTemplateInstruction<0, 0, 0> { |
| 398 public: | 405 public: |
| 399 DECLARE_CONCRETE_INSTRUCTION(LazyBailout, "lazy-bailout") | 406 DECLARE_CONCRETE_INSTRUCTION(LazyBailout, "lazy-bailout") |
| 400 }; | 407 }; |
| 401 | 408 |
| 402 | 409 |
| 403 class LDummy final : public LTemplateInstruction<1, 0, 0> { | 410 class LDummy final : public LTemplateInstruction<1, 0, 0> { |
| 404 public: | 411 public: |
| 405 LDummy() {} | 412 LDummy() {} |
| 406 DECLARE_CONCRETE_INSTRUCTION(Dummy, "dummy") | 413 DECLARE_CONCRETE_INSTRUCTION(Dummy, "dummy") |
| (...skipping 2481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2888 | 2895 |
| 2889 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2896 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2890 }; | 2897 }; |
| 2891 | 2898 |
| 2892 #undef DECLARE_HYDROGEN_ACCESSOR | 2899 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2893 #undef DECLARE_CONCRETE_INSTRUCTION | 2900 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2894 | 2901 |
| 2895 } } // namespace v8::internal | 2902 } } // namespace v8::internal |
| 2896 | 2903 |
| 2897 #endif // V8_IA32_LITHIUM_IA32_H_ | 2904 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |