| 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_MIPS_LITHIUM_MIPS_H_ | 5 #ifndef V8_CRANKSHAFT_MIPS_LITHIUM_MIPS_H_ |
| 6 #define V8_CRANKSHAFT_MIPS_LITHIUM_MIPS_H_ | 6 #define V8_CRANKSHAFT_MIPS_LITHIUM_MIPS_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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 V(MultiplyAddD) \ | 122 V(MultiplyAddD) \ |
| 123 V(NumberTagD) \ | 123 V(NumberTagD) \ |
| 124 V(NumberTagI) \ | 124 V(NumberTagI) \ |
| 125 V(NumberTagU) \ | 125 V(NumberTagU) \ |
| 126 V(NumberUntagD) \ | 126 V(NumberUntagD) \ |
| 127 V(OsrEntry) \ | 127 V(OsrEntry) \ |
| 128 V(Parameter) \ | 128 V(Parameter) \ |
| 129 V(Power) \ | 129 V(Power) \ |
| 130 V(Prologue) \ | 130 V(Prologue) \ |
| 131 V(PushArgument) \ | 131 V(PushArgument) \ |
| 132 V(RegExpLiteral) \ | |
| 133 V(Return) \ | 132 V(Return) \ |
| 134 V(SeqStringGetChar) \ | 133 V(SeqStringGetChar) \ |
| 135 V(SeqStringSetChar) \ | 134 V(SeqStringSetChar) \ |
| 136 V(ShiftI) \ | 135 V(ShiftI) \ |
| 137 V(SmiTag) \ | 136 V(SmiTag) \ |
| 138 V(SmiUntag) \ | 137 V(SmiUntag) \ |
| 139 V(StackCheck) \ | 138 V(StackCheck) \ |
| 140 V(StoreCodeEntry) \ | 139 V(StoreCodeEntry) \ |
| 141 V(StoreContextSlot) \ | 140 V(StoreContextSlot) \ |
| 142 V(StoreFrameContext) \ | 141 V(StoreFrameContext) \ |
| (...skipping 2301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2444 LOperand* context() { return inputs_[0]; } | 2443 LOperand* context() { return inputs_[0]; } |
| 2445 LOperand* size() { return inputs_[1]; } | 2444 LOperand* size() { return inputs_[1]; } |
| 2446 LOperand* temp1() { return temps_[0]; } | 2445 LOperand* temp1() { return temps_[0]; } |
| 2447 LOperand* temp2() { return temps_[1]; } | 2446 LOperand* temp2() { return temps_[1]; } |
| 2448 | 2447 |
| 2449 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") | 2448 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") |
| 2450 DECLARE_HYDROGEN_ACCESSOR(Allocate) | 2449 DECLARE_HYDROGEN_ACCESSOR(Allocate) |
| 2451 }; | 2450 }; |
| 2452 | 2451 |
| 2453 | 2452 |
| 2454 class LRegExpLiteral final : public LTemplateInstruction<1, 1, 0> { | |
| 2455 public: | |
| 2456 explicit LRegExpLiteral(LOperand* context) { | |
| 2457 inputs_[0] = context; | |
| 2458 } | |
| 2459 | |
| 2460 LOperand* context() { return inputs_[0]; } | |
| 2461 | |
| 2462 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal") | |
| 2463 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral) | |
| 2464 }; | |
| 2465 | |
| 2466 | |
| 2467 class LToFastProperties final : public LTemplateInstruction<1, 1, 0> { | 2453 class LToFastProperties final : public LTemplateInstruction<1, 1, 0> { |
| 2468 public: | 2454 public: |
| 2469 explicit LToFastProperties(LOperand* value) { | 2455 explicit LToFastProperties(LOperand* value) { |
| 2470 inputs_[0] = value; | 2456 inputs_[0] = value; |
| 2471 } | 2457 } |
| 2472 | 2458 |
| 2473 LOperand* value() { return inputs_[0]; } | 2459 LOperand* value() { return inputs_[0]; } |
| 2474 | 2460 |
| 2475 DECLARE_CONCRETE_INSTRUCTION(ToFastProperties, "to-fast-properties") | 2461 DECLARE_CONCRETE_INSTRUCTION(ToFastProperties, "to-fast-properties") |
| 2476 DECLARE_HYDROGEN_ACCESSOR(ToFastProperties) | 2462 DECLARE_HYDROGEN_ACCESSOR(ToFastProperties) |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2780 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2766 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2781 }; | 2767 }; |
| 2782 | 2768 |
| 2783 #undef DECLARE_HYDROGEN_ACCESSOR | 2769 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2784 #undef DECLARE_CONCRETE_INSTRUCTION | 2770 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2785 | 2771 |
| 2786 } // namespace internal | 2772 } // namespace internal |
| 2787 } // namespace v8 | 2773 } // namespace v8 |
| 2788 | 2774 |
| 2789 #endif // V8_CRANKSHAFT_MIPS_LITHIUM_MIPS_H_ | 2775 #endif // V8_CRANKSHAFT_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |