| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 V(HasInstanceTypeAndBranch) \ | 107 V(HasInstanceTypeAndBranch) \ |
| 108 V(In) \ | 108 V(In) \ |
| 109 V(InstanceOf) \ | 109 V(InstanceOf) \ |
| 110 V(InstanceOfKnownGlobal) \ | 110 V(InstanceOfKnownGlobal) \ |
| 111 V(InstanceSize) \ | 111 V(InstanceSize) \ |
| 112 V(InstructionGap) \ | 112 V(InstructionGap) \ |
| 113 V(Integer32ToDouble) \ | 113 V(Integer32ToDouble) \ |
| 114 V(Uint32ToDouble) \ | 114 V(Uint32ToDouble) \ |
| 115 V(InvokeFunction) \ | 115 V(InvokeFunction) \ |
| 116 V(IsConstructCallAndBranch) \ | 116 V(IsConstructCallAndBranch) \ |
| 117 V(IsNilAndBranch) \ | |
| 118 V(IsObjectAndBranch) \ | 117 V(IsObjectAndBranch) \ |
| 119 V(IsStringAndBranch) \ | 118 V(IsStringAndBranch) \ |
| 120 V(IsSmiAndBranch) \ | 119 V(IsSmiAndBranch) \ |
| 121 V(IsUndetectableAndBranch) \ | 120 V(IsUndetectableAndBranch) \ |
| 122 V(Label) \ | 121 V(Label) \ |
| 123 V(LazyBailout) \ | 122 V(LazyBailout) \ |
| 124 V(LoadContextSlot) \ | 123 V(LoadContextSlot) \ |
| 125 V(LoadElements) \ | 124 V(LoadElements) \ |
| 126 V(LoadExternalArrayPointer) \ | 125 V(LoadExternalArrayPointer) \ |
| 127 V(LoadFunctionPrototype) \ | 126 V(LoadFunctionPrototype) \ |
| (...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 870 } | 869 } |
| 871 | 870 |
| 872 LOperand* left() { return inputs_[0]; } | 871 LOperand* left() { return inputs_[0]; } |
| 873 | 872 |
| 874 DECLARE_CONCRETE_INSTRUCTION(CmpConstantEqAndBranch, | 873 DECLARE_CONCRETE_INSTRUCTION(CmpConstantEqAndBranch, |
| 875 "cmp-constant-eq-and-branch") | 874 "cmp-constant-eq-and-branch") |
| 876 DECLARE_HYDROGEN_ACCESSOR(CompareConstantEqAndBranch) | 875 DECLARE_HYDROGEN_ACCESSOR(CompareConstantEqAndBranch) |
| 877 }; | 876 }; |
| 878 | 877 |
| 879 | 878 |
| 880 class LIsNilAndBranch: public LControlInstruction<1, 0> { | |
| 881 public: | |
| 882 explicit LIsNilAndBranch(LOperand* value) { | |
| 883 inputs_[0] = value; | |
| 884 } | |
| 885 | |
| 886 LOperand* value() { return inputs_[0]; } | |
| 887 | |
| 888 DECLARE_CONCRETE_INSTRUCTION(IsNilAndBranch, "is-nil-and-branch") | |
| 889 DECLARE_HYDROGEN_ACCESSOR(IsNilAndBranch) | |
| 890 | |
| 891 EqualityKind kind() const { return hydrogen()->kind(); } | |
| 892 NilValue nil() const { return hydrogen()->nil(); } | |
| 893 | |
| 894 virtual void PrintDataTo(StringStream* stream); | |
| 895 }; | |
| 896 | |
| 897 | |
| 898 class LIsObjectAndBranch: public LControlInstruction<1, 1> { | 879 class LIsObjectAndBranch: public LControlInstruction<1, 1> { |
| 899 public: | 880 public: |
| 900 LIsObjectAndBranch(LOperand* value, LOperand* temp) { | 881 LIsObjectAndBranch(LOperand* value, LOperand* temp) { |
| 901 inputs_[0] = value; | 882 inputs_[0] = value; |
| 902 temps_[0] = temp; | 883 temps_[0] = temp; |
| 903 } | 884 } |
| 904 | 885 |
| 905 LOperand* value() { return inputs_[0]; } | 886 LOperand* value() { return inputs_[0]; } |
| 906 LOperand* temp() { return temps_[0]; } | 887 LOperand* temp() { return temps_[0]; } |
| 907 | 888 |
| (...skipping 1939 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2847 | 2828 |
| 2848 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2829 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2849 }; | 2830 }; |
| 2850 | 2831 |
| 2851 #undef DECLARE_HYDROGEN_ACCESSOR | 2832 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2852 #undef DECLARE_CONCRETE_INSTRUCTION | 2833 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2853 | 2834 |
| 2854 } } // namespace v8::internal | 2835 } } // namespace v8::internal |
| 2855 | 2836 |
| 2856 #endif // V8_ARM_LITHIUM_ARM_H_ | 2837 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |