| 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_MIPS_LITHIUM_MIPS_H_ | 5 #ifndef V8_MIPS_LITHIUM_MIPS_H_ |
| 6 #define V8_MIPS_LITHIUM_MIPS_H_ | 6 #define V8_MIPS_LITHIUM_MIPS_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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 V(DoubleBits) \ | 72 V(DoubleBits) \ |
| 73 V(DoubleToSmi) \ | 73 V(DoubleToSmi) \ |
| 74 V(Drop) \ | 74 V(Drop) \ |
| 75 V(Dummy) \ | 75 V(Dummy) \ |
| 76 V(DummyUse) \ | 76 V(DummyUse) \ |
| 77 V(FlooringDivByConstI) \ | 77 V(FlooringDivByConstI) \ |
| 78 V(FlooringDivByPowerOf2I) \ | 78 V(FlooringDivByPowerOf2I) \ |
| 79 V(FlooringDivI) \ | 79 V(FlooringDivI) \ |
| 80 V(ForInCacheArray) \ | 80 V(ForInCacheArray) \ |
| 81 V(ForInPrepareMap) \ | 81 V(ForInPrepareMap) \ |
| 82 V(FunctionLiteral) \ | |
| 83 V(GetCachedArrayIndex) \ | 82 V(GetCachedArrayIndex) \ |
| 84 V(Goto) \ | 83 V(Goto) \ |
| 85 V(HasCachedArrayIndexAndBranch) \ | 84 V(HasCachedArrayIndexAndBranch) \ |
| 86 V(HasInPrototypeChainAndBranch) \ | 85 V(HasInPrototypeChainAndBranch) \ |
| 87 V(HasInstanceTypeAndBranch) \ | 86 V(HasInstanceTypeAndBranch) \ |
| 88 V(InnerAllocatedObject) \ | 87 V(InnerAllocatedObject) \ |
| 89 V(InstanceOf) \ | 88 V(InstanceOf) \ |
| 90 V(InstructionGap) \ | 89 V(InstructionGap) \ |
| 91 V(Integer32ToDouble) \ | 90 V(Integer32ToDouble) \ |
| 92 V(InvokeFunction) \ | 91 V(InvokeFunction) \ |
| (...skipping 2425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2518 inputs_[0] = context; | 2517 inputs_[0] = context; |
| 2519 } | 2518 } |
| 2520 | 2519 |
| 2521 LOperand* context() { return inputs_[0]; } | 2520 LOperand* context() { return inputs_[0]; } |
| 2522 | 2521 |
| 2523 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal") | 2522 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal") |
| 2524 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral) | 2523 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral) |
| 2525 }; | 2524 }; |
| 2526 | 2525 |
| 2527 | 2526 |
| 2528 class LFunctionLiteral final : public LTemplateInstruction<1, 1, 0> { | |
| 2529 public: | |
| 2530 explicit LFunctionLiteral(LOperand* context) { | |
| 2531 inputs_[0] = context; | |
| 2532 } | |
| 2533 | |
| 2534 LOperand* context() { return inputs_[0]; } | |
| 2535 | |
| 2536 DECLARE_CONCRETE_INSTRUCTION(FunctionLiteral, "function-literal") | |
| 2537 DECLARE_HYDROGEN_ACCESSOR(FunctionLiteral) | |
| 2538 }; | |
| 2539 | |
| 2540 | |
| 2541 class LToFastProperties final : public LTemplateInstruction<1, 1, 0> { | 2527 class LToFastProperties final : public LTemplateInstruction<1, 1, 0> { |
| 2542 public: | 2528 public: |
| 2543 explicit LToFastProperties(LOperand* value) { | 2529 explicit LToFastProperties(LOperand* value) { |
| 2544 inputs_[0] = value; | 2530 inputs_[0] = value; |
| 2545 } | 2531 } |
| 2546 | 2532 |
| 2547 LOperand* value() { return inputs_[0]; } | 2533 LOperand* value() { return inputs_[0]; } |
| 2548 | 2534 |
| 2549 DECLARE_CONCRETE_INSTRUCTION(ToFastProperties, "to-fast-properties") | 2535 DECLARE_CONCRETE_INSTRUCTION(ToFastProperties, "to-fast-properties") |
| 2550 DECLARE_HYDROGEN_ACCESSOR(ToFastProperties) | 2536 DECLARE_HYDROGEN_ACCESSOR(ToFastProperties) |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2853 | 2839 |
| 2854 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2840 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2855 }; | 2841 }; |
| 2856 | 2842 |
| 2857 #undef DECLARE_HYDROGEN_ACCESSOR | 2843 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2858 #undef DECLARE_CONCRETE_INSTRUCTION | 2844 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2859 | 2845 |
| 2860 } } // namespace v8::internal | 2846 } } // namespace v8::internal |
| 2861 | 2847 |
| 2862 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2848 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |