| 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 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(HasInPrototypeChainAndBranch) \ | 86 V(HasInPrototypeChainAndBranch) \ |
| 87 V(HasInstanceTypeAndBranch) \ | 87 V(HasInstanceTypeAndBranch) \ |
| 88 V(InnerAllocatedObject) \ | 88 V(InnerAllocatedObject) \ |
| 89 V(InstanceOf) \ | 89 V(InstanceOf) \ |
| 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 875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 980 | 979 |
| 981 LOperand* value() { return inputs_[0]; } | 980 LOperand* value() { return inputs_[0]; } |
| 982 LOperand* temp() { return temps_[0]; } | 981 LOperand* temp() { return temps_[0]; } |
| 983 | 982 |
| 984 DECLARE_CONCRETE_INSTRUCTION(CompareMinusZeroAndBranch, | 983 DECLARE_CONCRETE_INSTRUCTION(CompareMinusZeroAndBranch, |
| 985 "cmp-minus-zero-and-branch") | 984 "cmp-minus-zero-and-branch") |
| 986 DECLARE_HYDROGEN_ACCESSOR(CompareMinusZeroAndBranch) | 985 DECLARE_HYDROGEN_ACCESSOR(CompareMinusZeroAndBranch) |
| 987 }; | 986 }; |
| 988 | 987 |
| 989 | 988 |
| 990 class LIsObjectAndBranch final : public LControlInstruction<1, 1> { | |
| 991 public: | |
| 992 LIsObjectAndBranch(LOperand* value, LOperand* temp) { | |
| 993 inputs_[0] = value; | |
| 994 temps_[0] = temp; | |
| 995 } | |
| 996 | |
| 997 LOperand* value() { return inputs_[0]; } | |
| 998 LOperand* temp() { return temps_[0]; } | |
| 999 | |
| 1000 DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch") | |
| 1001 DECLARE_HYDROGEN_ACCESSOR(IsObjectAndBranch) | |
| 1002 | |
| 1003 void PrintDataTo(StringStream* stream) override; | |
| 1004 }; | |
| 1005 | |
| 1006 | |
| 1007 class LIsStringAndBranch final : public LControlInstruction<1, 1> { | 989 class LIsStringAndBranch final : public LControlInstruction<1, 1> { |
| 1008 public: | 990 public: |
| 1009 LIsStringAndBranch(LOperand* value, LOperand* temp) { | 991 LIsStringAndBranch(LOperand* value, LOperand* temp) { |
| 1010 inputs_[0] = value; | 992 inputs_[0] = value; |
| 1011 temps_[0] = temp; | 993 temps_[0] = temp; |
| 1012 } | 994 } |
| 1013 | 995 |
| 1014 LOperand* value() { return inputs_[0]; } | 996 LOperand* value() { return inputs_[0]; } |
| 1015 LOperand* temp() { return temps_[0]; } | 997 LOperand* temp() { return temps_[0]; } |
| 1016 | 998 |
| (...skipping 1847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2864 | 2846 |
| 2865 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2847 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2866 }; | 2848 }; |
| 2867 | 2849 |
| 2868 #undef DECLARE_HYDROGEN_ACCESSOR | 2850 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2869 #undef DECLARE_CONCRETE_INSTRUCTION | 2851 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2870 | 2852 |
| 2871 } } // namespace v8::internal | 2853 } } // namespace v8::internal |
| 2872 | 2854 |
| 2873 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2855 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |