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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 V(InstanceOfKnownGlobal) \ | 111 V(InstanceOfKnownGlobal) \ |
112 V(InstanceSize) \ | 112 V(InstanceSize) \ |
113 V(InstructionGap) \ | 113 V(InstructionGap) \ |
114 V(Integer32ToDouble) \ | 114 V(Integer32ToDouble) \ |
115 V(Integer32ToSmi) \ | 115 V(Integer32ToSmi) \ |
116 V(Uint32ToDouble) \ | 116 V(Uint32ToDouble) \ |
117 V(InvokeFunction) \ | 117 V(InvokeFunction) \ |
118 V(IsConstructCallAndBranch) \ | 118 V(IsConstructCallAndBranch) \ |
119 V(IsObjectAndBranch) \ | 119 V(IsObjectAndBranch) \ |
120 V(IsStringAndBranch) \ | 120 V(IsStringAndBranch) \ |
121 V(IsNumberAndBranch) \ | |
122 V(IsSmiAndBranch) \ | 121 V(IsSmiAndBranch) \ |
123 V(IsUndetectableAndBranch) \ | 122 V(IsUndetectableAndBranch) \ |
124 V(Label) \ | 123 V(Label) \ |
125 V(LazyBailout) \ | 124 V(LazyBailout) \ |
126 V(LoadContextSlot) \ | 125 V(LoadContextSlot) \ |
127 V(LoadExternalArrayPointer) \ | 126 V(LoadExternalArrayPointer) \ |
128 V(LoadFunctionPrototype) \ | 127 V(LoadFunctionPrototype) \ |
129 V(LoadGlobalCell) \ | 128 V(LoadGlobalCell) \ |
130 V(LoadGlobalGeneric) \ | 129 V(LoadGlobalGeneric) \ |
131 V(LoadKeyed) \ | 130 V(LoadKeyed) \ |
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
919 LOperand* value() { return inputs_[0]; } | 918 LOperand* value() { return inputs_[0]; } |
920 LOperand* temp() { return temps_[0]; } | 919 LOperand* temp() { return temps_[0]; } |
921 | 920 |
922 DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch") | 921 DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch") |
923 DECLARE_HYDROGEN_ACCESSOR(IsObjectAndBranch) | 922 DECLARE_HYDROGEN_ACCESSOR(IsObjectAndBranch) |
924 | 923 |
925 virtual void PrintDataTo(StringStream* stream); | 924 virtual void PrintDataTo(StringStream* stream); |
926 }; | 925 }; |
927 | 926 |
928 | 927 |
929 class LIsNumberAndBranch: public LControlInstruction<1, 0> { | |
930 public: | |
931 explicit LIsNumberAndBranch(LOperand* value) { | |
932 inputs_[0] = value; | |
933 } | |
934 | |
935 LOperand* value() { return inputs_[0]; } | |
936 | |
937 DECLARE_CONCRETE_INSTRUCTION(IsNumberAndBranch, "is-number-and-branch") | |
938 DECLARE_HYDROGEN_ACCESSOR(IsNumberAndBranch) | |
939 }; | |
940 | |
941 | |
942 class LIsStringAndBranch: public LControlInstruction<1, 1> { | 928 class LIsStringAndBranch: public LControlInstruction<1, 1> { |
943 public: | 929 public: |
944 LIsStringAndBranch(LOperand* value, LOperand* temp) { | 930 LIsStringAndBranch(LOperand* value, LOperand* temp) { |
945 inputs_[0] = value; | 931 inputs_[0] = value; |
946 temps_[0] = temp; | 932 temps_[0] = temp; |
947 } | 933 } |
948 | 934 |
949 LOperand* value() { return inputs_[0]; } | 935 LOperand* value() { return inputs_[0]; } |
950 LOperand* temp() { return temps_[0]; } | 936 LOperand* temp() { return temps_[0]; } |
951 | 937 |
(...skipping 1899 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2851 | 2837 |
2852 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2838 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2853 }; | 2839 }; |
2854 | 2840 |
2855 #undef DECLARE_HYDROGEN_ACCESSOR | 2841 #undef DECLARE_HYDROGEN_ACCESSOR |
2856 #undef DECLARE_CONCRETE_INSTRUCTION | 2842 #undef DECLARE_CONCRETE_INSTRUCTION |
2857 | 2843 |
2858 } } // namespace v8::internal | 2844 } } // namespace v8::internal |
2859 | 2845 |
2860 #endif // V8_ARM_LITHIUM_ARM_H_ | 2846 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |