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_ARM_LITHIUM_ARM_H_ | 5 #ifndef V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_ |
6 #define V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_ | 6 #define V8_CRANKSHAFT_ARM_LITHIUM_ARM_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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 V(MultiplySubD) \ | 123 V(MultiplySubD) \ |
124 V(NumberTagD) \ | 124 V(NumberTagD) \ |
125 V(NumberTagI) \ | 125 V(NumberTagI) \ |
126 V(NumberTagU) \ | 126 V(NumberTagU) \ |
127 V(NumberUntagD) \ | 127 V(NumberUntagD) \ |
128 V(OsrEntry) \ | 128 V(OsrEntry) \ |
129 V(Parameter) \ | 129 V(Parameter) \ |
130 V(Power) \ | 130 V(Power) \ |
131 V(Prologue) \ | 131 V(Prologue) \ |
132 V(PushArgument) \ | 132 V(PushArgument) \ |
133 V(RegExpLiteral) \ | |
134 V(Return) \ | 133 V(Return) \ |
135 V(SeqStringGetChar) \ | 134 V(SeqStringGetChar) \ |
136 V(SeqStringSetChar) \ | 135 V(SeqStringSetChar) \ |
137 V(ShiftI) \ | 136 V(ShiftI) \ |
138 V(SmiTag) \ | 137 V(SmiTag) \ |
139 V(SmiUntag) \ | 138 V(SmiUntag) \ |
140 V(StackCheck) \ | 139 V(StackCheck) \ |
141 V(StoreCodeEntry) \ | 140 V(StoreCodeEntry) \ |
142 V(StoreContextSlot) \ | 141 V(StoreContextSlot) \ |
143 V(StoreFrameContext) \ | 142 V(StoreFrameContext) \ |
(...skipping 2341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2485 LOperand* context() { return inputs_[0]; } | 2484 LOperand* context() { return inputs_[0]; } |
2486 LOperand* size() { return inputs_[1]; } | 2485 LOperand* size() { return inputs_[1]; } |
2487 LOperand* temp1() { return temps_[0]; } | 2486 LOperand* temp1() { return temps_[0]; } |
2488 LOperand* temp2() { return temps_[1]; } | 2487 LOperand* temp2() { return temps_[1]; } |
2489 | 2488 |
2490 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") | 2489 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") |
2491 DECLARE_HYDROGEN_ACCESSOR(Allocate) | 2490 DECLARE_HYDROGEN_ACCESSOR(Allocate) |
2492 }; | 2491 }; |
2493 | 2492 |
2494 | 2493 |
2495 class LRegExpLiteral final : public LTemplateInstruction<1, 1, 0> { | |
2496 public: | |
2497 explicit LRegExpLiteral(LOperand* context) { | |
2498 inputs_[0] = context; | |
2499 } | |
2500 | |
2501 LOperand* context() { return inputs_[0]; } | |
2502 | |
2503 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal") | |
2504 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral) | |
2505 }; | |
2506 | |
2507 | |
2508 class LToFastProperties final : public LTemplateInstruction<1, 1, 0> { | 2494 class LToFastProperties final : public LTemplateInstruction<1, 1, 0> { |
2509 public: | 2495 public: |
2510 explicit LToFastProperties(LOperand* value) { | 2496 explicit LToFastProperties(LOperand* value) { |
2511 inputs_[0] = value; | 2497 inputs_[0] = value; |
2512 } | 2498 } |
2513 | 2499 |
2514 LOperand* value() { return inputs_[0]; } | 2500 LOperand* value() { return inputs_[0]; } |
2515 | 2501 |
2516 DECLARE_CONCRETE_INSTRUCTION(ToFastProperties, "to-fast-properties") | 2502 DECLARE_CONCRETE_INSTRUCTION(ToFastProperties, "to-fast-properties") |
2517 DECLARE_HYDROGEN_ACCESSOR(ToFastProperties) | 2503 DECLARE_HYDROGEN_ACCESSOR(ToFastProperties) |
(...skipping 304 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_ARM_LITHIUM_ARM_H_ | 2817 #endif // V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_ |
OLD | NEW |