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_CRANKSHAFT_IA32_LITHIUM_IA32_H_ | 5 #ifndef V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_ |
6 #define V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_ | 6 #define V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_ |
7 | 7 |
8 #include "src/crankshaft/hydrogen.h" | 8 #include "src/crankshaft/hydrogen.h" |
9 #include "src/crankshaft/lithium.h" | 9 #include "src/crankshaft/lithium.h" |
10 #include "src/crankshaft/lithium-allocator.h" | 10 #include "src/crankshaft/lithium-allocator.h" |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 V(MulI) \ | 125 V(MulI) \ |
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(Prologue) \ |
134 V(PushArgument) \ | 134 V(PushArgument) \ |
135 V(RegExpLiteral) \ | |
136 V(Return) \ | 135 V(Return) \ |
137 V(SeqStringGetChar) \ | 136 V(SeqStringGetChar) \ |
138 V(SeqStringSetChar) \ | 137 V(SeqStringSetChar) \ |
139 V(ShiftI) \ | 138 V(ShiftI) \ |
140 V(SmiTag) \ | 139 V(SmiTag) \ |
141 V(SmiUntag) \ | 140 V(SmiUntag) \ |
142 V(StackCheck) \ | 141 V(StackCheck) \ |
143 V(StoreCodeEntry) \ | 142 V(StoreCodeEntry) \ |
144 V(StoreContextSlot) \ | 143 V(StoreContextSlot) \ |
145 V(StoreFrameContext) \ | 144 V(StoreFrameContext) \ |
(...skipping 2343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2489 | 2488 |
2490 LOperand* context() { return inputs_[0]; } | 2489 LOperand* context() { return inputs_[0]; } |
2491 LOperand* size() { return inputs_[1]; } | 2490 LOperand* size() { return inputs_[1]; } |
2492 LOperand* temp() { return temps_[0]; } | 2491 LOperand* temp() { return temps_[0]; } |
2493 | 2492 |
2494 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") | 2493 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") |
2495 DECLARE_HYDROGEN_ACCESSOR(Allocate) | 2494 DECLARE_HYDROGEN_ACCESSOR(Allocate) |
2496 }; | 2495 }; |
2497 | 2496 |
2498 | 2497 |
2499 class LRegExpLiteral final : public LTemplateInstruction<1, 1, 0> { | |
2500 public: | |
2501 explicit LRegExpLiteral(LOperand* context) { | |
2502 inputs_[0] = context; | |
2503 } | |
2504 | |
2505 LOperand* context() { return inputs_[0]; } | |
2506 | |
2507 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal") | |
2508 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral) | |
2509 }; | |
2510 | |
2511 | |
2512 class LToFastProperties final : public LTemplateInstruction<1, 1, 0> { | 2498 class LToFastProperties final : public LTemplateInstruction<1, 1, 0> { |
2513 public: | 2499 public: |
2514 explicit LToFastProperties(LOperand* value) { | 2500 explicit LToFastProperties(LOperand* value) { |
2515 inputs_[0] = value; | 2501 inputs_[0] = value; |
2516 } | 2502 } |
2517 | 2503 |
2518 LOperand* value() { return inputs_[0]; } | 2504 LOperand* value() { return inputs_[0]; } |
2519 | 2505 |
2520 DECLARE_CONCRETE_INSTRUCTION(ToFastProperties, "to-fast-properties") | 2506 DECLARE_CONCRETE_INSTRUCTION(ToFastProperties, "to-fast-properties") |
2521 DECLARE_HYDROGEN_ACCESSOR(ToFastProperties) | 2507 DECLARE_HYDROGEN_ACCESSOR(ToFastProperties) |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2822 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2808 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2823 }; | 2809 }; |
2824 | 2810 |
2825 #undef DECLARE_HYDROGEN_ACCESSOR | 2811 #undef DECLARE_HYDROGEN_ACCESSOR |
2826 #undef DECLARE_CONCRETE_INSTRUCTION | 2812 #undef DECLARE_CONCRETE_INSTRUCTION |
2827 | 2813 |
2828 } // namespace internal | 2814 } // namespace internal |
2829 } // namespace v8 | 2815 } // namespace v8 |
2830 | 2816 |
2831 #endif // V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_ | 2817 #endif // V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_ |
OLD | NEW |