| 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_IA32_LITHIUM_IA32_H_ | 5 #ifndef V8_IA32_LITHIUM_IA32_H_ |
| 6 #define V8_IA32_LITHIUM_IA32_H_ | 6 #define V8_IA32_LITHIUM_IA32_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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 V(Goto) \ | 88 V(Goto) \ |
| 89 V(HasCachedArrayIndexAndBranch) \ | 89 V(HasCachedArrayIndexAndBranch) \ |
| 90 V(HasInPrototypeChainAndBranch) \ | 90 V(HasInPrototypeChainAndBranch) \ |
| 91 V(HasInstanceTypeAndBranch) \ | 91 V(HasInstanceTypeAndBranch) \ |
| 92 V(InnerAllocatedObject) \ | 92 V(InnerAllocatedObject) \ |
| 93 V(InstanceOf) \ | 93 V(InstanceOf) \ |
| 94 V(InstructionGap) \ | 94 V(InstructionGap) \ |
| 95 V(Integer32ToDouble) \ | 95 V(Integer32ToDouble) \ |
| 96 V(InvokeFunction) \ | 96 V(InvokeFunction) \ |
| 97 V(IsConstructCallAndBranch) \ | 97 V(IsConstructCallAndBranch) \ |
| 98 V(IsObjectAndBranch) \ | |
| 99 V(IsStringAndBranch) \ | 98 V(IsStringAndBranch) \ |
| 100 V(IsSmiAndBranch) \ | 99 V(IsSmiAndBranch) \ |
| 101 V(IsUndetectableAndBranch) \ | 100 V(IsUndetectableAndBranch) \ |
| 102 V(Label) \ | 101 V(Label) \ |
| 103 V(LazyBailout) \ | 102 V(LazyBailout) \ |
| 104 V(LoadContextSlot) \ | 103 V(LoadContextSlot) \ |
| 105 V(LoadFieldByIndex) \ | 104 V(LoadFieldByIndex) \ |
| 106 V(LoadFunctionPrototype) \ | 105 V(LoadFunctionPrototype) \ |
| 107 V(LoadGlobalGeneric) \ | 106 V(LoadGlobalGeneric) \ |
| 108 V(LoadGlobalViaContext) \ | 107 V(LoadGlobalViaContext) \ |
| (...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 985 | 984 |
| 986 LOperand* value() { return inputs_[0]; } | 985 LOperand* value() { return inputs_[0]; } |
| 987 LOperand* temp() { return temps_[0]; } | 986 LOperand* temp() { return temps_[0]; } |
| 988 | 987 |
| 989 DECLARE_CONCRETE_INSTRUCTION(CompareMinusZeroAndBranch, | 988 DECLARE_CONCRETE_INSTRUCTION(CompareMinusZeroAndBranch, |
| 990 "cmp-minus-zero-and-branch") | 989 "cmp-minus-zero-and-branch") |
| 991 DECLARE_HYDROGEN_ACCESSOR(CompareMinusZeroAndBranch) | 990 DECLARE_HYDROGEN_ACCESSOR(CompareMinusZeroAndBranch) |
| 992 }; | 991 }; |
| 993 | 992 |
| 994 | 993 |
| 995 class LIsObjectAndBranch final : public LControlInstruction<1, 1> { | |
| 996 public: | |
| 997 LIsObjectAndBranch(LOperand* value, LOperand* temp) { | |
| 998 inputs_[0] = value; | |
| 999 temps_[0] = temp; | |
| 1000 } | |
| 1001 | |
| 1002 LOperand* value() { return inputs_[0]; } | |
| 1003 LOperand* temp() { return temps_[0]; } | |
| 1004 | |
| 1005 DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch") | |
| 1006 | |
| 1007 void PrintDataTo(StringStream* stream) override; | |
| 1008 }; | |
| 1009 | |
| 1010 | |
| 1011 class LIsStringAndBranch final : public LControlInstruction<1, 1> { | 994 class LIsStringAndBranch final : public LControlInstruction<1, 1> { |
| 1012 public: | 995 public: |
| 1013 LIsStringAndBranch(LOperand* value, LOperand* temp) { | 996 LIsStringAndBranch(LOperand* value, LOperand* temp) { |
| 1014 inputs_[0] = value; | 997 inputs_[0] = value; |
| 1015 temps_[0] = temp; | 998 temps_[0] = temp; |
| 1016 } | 999 } |
| 1017 | 1000 |
| 1018 LOperand* value() { return inputs_[0]; } | 1001 LOperand* value() { return inputs_[0]; } |
| 1019 LOperand* temp() { return temps_[0]; } | 1002 LOperand* temp() { return temps_[0]; } |
| 1020 | 1003 |
| (...skipping 1884 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2905 | 2888 |
| 2906 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2889 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2907 }; | 2890 }; |
| 2908 | 2891 |
| 2909 #undef DECLARE_HYDROGEN_ACCESSOR | 2892 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2910 #undef DECLARE_CONCRETE_INSTRUCTION | 2893 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2911 | 2894 |
| 2912 } } // namespace v8::internal | 2895 } } // namespace v8::internal |
| 2913 | 2896 |
| 2914 #endif // V8_IA32_LITHIUM_IA32_H_ | 2897 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |