| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_PPC_LITHIUM_PPC_H_ | 5 #ifndef V8_PPC_LITHIUM_PPC_H_ |
| 6 #define V8_PPC_LITHIUM_PPC_H_ | 6 #define V8_PPC_LITHIUM_PPC_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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 V(Goto) \ | 84 V(Goto) \ |
| 85 V(HasCachedArrayIndexAndBranch) \ | 85 V(HasCachedArrayIndexAndBranch) \ |
| 86 V(HasInstanceTypeAndBranch) \ | 86 V(HasInstanceTypeAndBranch) \ |
| 87 V(InnerAllocatedObject) \ | 87 V(InnerAllocatedObject) \ |
| 88 V(InstanceOf) \ | 88 V(InstanceOf) \ |
| 89 V(InstanceOfKnownGlobal) \ | 89 V(InstanceOfKnownGlobal) \ |
| 90 V(InstructionGap) \ | 90 V(InstructionGap) \ |
| 91 V(Integer32ToDouble) \ | 91 V(Integer32ToDouble) \ |
| 92 V(InvokeFunction) \ | 92 V(InvokeFunction) \ |
| 93 V(IsConstructCallAndBranch) \ | 93 V(IsConstructCallAndBranch) \ |
| 94 V(IsObjectAndBranch) \ | |
| 95 V(IsStringAndBranch) \ | 94 V(IsStringAndBranch) \ |
| 96 V(IsSmiAndBranch) \ | 95 V(IsSmiAndBranch) \ |
| 97 V(IsUndetectableAndBranch) \ | 96 V(IsUndetectableAndBranch) \ |
| 98 V(Label) \ | 97 V(Label) \ |
| 99 V(LazyBailout) \ | 98 V(LazyBailout) \ |
| 100 V(LoadContextSlot) \ | 99 V(LoadContextSlot) \ |
| 101 V(LoadRoot) \ | 100 V(LoadRoot) \ |
| 102 V(LoadFieldByIndex) \ | 101 V(LoadFieldByIndex) \ |
| 103 V(LoadFunctionPrototype) \ | 102 V(LoadFunctionPrototype) \ |
| 104 V(LoadGlobalGeneric) \ | 103 V(LoadGlobalGeneric) \ |
| (...skipping 861 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 966 | 965 |
| 967 LOperand* value() { return inputs_[0]; } | 966 LOperand* value() { return inputs_[0]; } |
| 968 LOperand* temp() { return temps_[0]; } | 967 LOperand* temp() { return temps_[0]; } |
| 969 | 968 |
| 970 DECLARE_CONCRETE_INSTRUCTION(CompareMinusZeroAndBranch, | 969 DECLARE_CONCRETE_INSTRUCTION(CompareMinusZeroAndBranch, |
| 971 "cmp-minus-zero-and-branch") | 970 "cmp-minus-zero-and-branch") |
| 972 DECLARE_HYDROGEN_ACCESSOR(CompareMinusZeroAndBranch) | 971 DECLARE_HYDROGEN_ACCESSOR(CompareMinusZeroAndBranch) |
| 973 }; | 972 }; |
| 974 | 973 |
| 975 | 974 |
| 976 class LIsObjectAndBranch final : public LControlInstruction<1, 1> { | |
| 977 public: | |
| 978 LIsObjectAndBranch(LOperand* value, LOperand* temp) { | |
| 979 inputs_[0] = value; | |
| 980 temps_[0] = temp; | |
| 981 } | |
| 982 | |
| 983 LOperand* value() { return inputs_[0]; } | |
| 984 LOperand* temp() { return temps_[0]; } | |
| 985 | |
| 986 DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch") | |
| 987 DECLARE_HYDROGEN_ACCESSOR(IsObjectAndBranch) | |
| 988 | |
| 989 void PrintDataTo(StringStream* stream) override; | |
| 990 }; | |
| 991 | |
| 992 | |
| 993 class LIsStringAndBranch final : public LControlInstruction<1, 1> { | 975 class LIsStringAndBranch final : public LControlInstruction<1, 1> { |
| 994 public: | 976 public: |
| 995 LIsStringAndBranch(LOperand* value, LOperand* temp) { | 977 LIsStringAndBranch(LOperand* value, LOperand* temp) { |
| 996 inputs_[0] = value; | 978 inputs_[0] = value; |
| 997 temps_[0] = temp; | 979 temps_[0] = temp; |
| 998 } | 980 } |
| 999 | 981 |
| 1000 LOperand* value() { return inputs_[0]; } | 982 LOperand* value() { return inputs_[0]; } |
| 1001 LOperand* temp() { return temps_[0]; } | 983 LOperand* temp() { return temps_[0]; } |
| 1002 | 984 |
| (...skipping 1793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2796 | 2778 |
| 2797 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2779 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2798 }; | 2780 }; |
| 2799 | 2781 |
| 2800 #undef DECLARE_HYDROGEN_ACCESSOR | 2782 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2801 #undef DECLARE_CONCRETE_INSTRUCTION | 2783 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2802 } | 2784 } |
| 2803 } // namespace v8::internal | 2785 } // namespace v8::internal |
| 2804 | 2786 |
| 2805 #endif // V8_PPC_LITHIUM_PPC_H_ | 2787 #endif // V8_PPC_LITHIUM_PPC_H_ |
| OLD | NEW |