| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 V(Label) \ | 116 V(Label) \ |
| 117 V(LazyBailout) \ | 117 V(LazyBailout) \ |
| 118 V(LoadContextSlot) \ | 118 V(LoadContextSlot) \ |
| 119 V(LoadElements) \ | 119 V(LoadElements) \ |
| 120 V(LoadFunctionPrototype) \ | 120 V(LoadFunctionPrototype) \ |
| 121 V(LoadGlobal) \ | 121 V(LoadGlobal) \ |
| 122 V(LoadKeyedFastElement) \ | 122 V(LoadKeyedFastElement) \ |
| 123 V(LoadKeyedGeneric) \ | 123 V(LoadKeyedGeneric) \ |
| 124 V(LoadNamedField) \ | 124 V(LoadNamedField) \ |
| 125 V(LoadNamedGeneric) \ | 125 V(LoadNamedGeneric) \ |
| 126 V(LoadPixelArrayElement) \ |
| 127 V(LoadPixelArrayExternalPointer) \ |
| 126 V(ModI) \ | 128 V(ModI) \ |
| 127 V(MulI) \ | 129 V(MulI) \ |
| 128 V(NumberTagD) \ | 130 V(NumberTagD) \ |
| 129 V(NumberTagI) \ | 131 V(NumberTagI) \ |
| 130 V(NumberUntagD) \ | 132 V(NumberUntagD) \ |
| 131 V(ObjectLiteral) \ | 133 V(ObjectLiteral) \ |
| 132 V(OsrEntry) \ | 134 V(OsrEntry) \ |
| 133 V(OuterContext) \ | 135 V(OuterContext) \ |
| 134 V(Parameter) \ | 136 V(Parameter) \ |
| 137 V(PixelArrayLength) \ |
| 135 V(PushArgument) \ | 138 V(PushArgument) \ |
| 136 V(RegExpLiteral) \ | 139 V(RegExpLiteral) \ |
| 137 V(Return) \ | 140 V(Return) \ |
| 138 V(ShiftI) \ | 141 V(ShiftI) \ |
| 139 V(SmiTag) \ | 142 V(SmiTag) \ |
| 140 V(SmiUntag) \ | 143 V(SmiUntag) \ |
| 141 V(StackCheck) \ | 144 V(StackCheck) \ |
| 142 V(StoreContextSlot) \ | 145 V(StoreContextSlot) \ |
| 143 V(StoreGlobal) \ | 146 V(StoreGlobal) \ |
| 144 V(StoreKeyedFastElement) \ | 147 V(StoreKeyedFastElement) \ |
| (...skipping 838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 983 public: | 986 public: |
| 984 explicit LJSArrayLength(LOperand* value) { | 987 explicit LJSArrayLength(LOperand* value) { |
| 985 inputs_[0] = value; | 988 inputs_[0] = value; |
| 986 } | 989 } |
| 987 | 990 |
| 988 DECLARE_CONCRETE_INSTRUCTION(JSArrayLength, "js-array-length") | 991 DECLARE_CONCRETE_INSTRUCTION(JSArrayLength, "js-array-length") |
| 989 DECLARE_HYDROGEN_ACCESSOR(JSArrayLength) | 992 DECLARE_HYDROGEN_ACCESSOR(JSArrayLength) |
| 990 }; | 993 }; |
| 991 | 994 |
| 992 | 995 |
| 996 class LPixelArrayLength: public LTemplateInstruction<1, 1, 0> { |
| 997 public: |
| 998 explicit LPixelArrayLength(LOperand* value) { |
| 999 inputs_[0] = value; |
| 1000 } |
| 1001 |
| 1002 DECLARE_CONCRETE_INSTRUCTION(PixelArrayLength, "pixel-array-length") |
| 1003 DECLARE_HYDROGEN_ACCESSOR(PixelArrayLength) |
| 1004 }; |
| 1005 |
| 1006 |
| 993 class LFixedArrayLength: public LTemplateInstruction<1, 1, 0> { | 1007 class LFixedArrayLength: public LTemplateInstruction<1, 1, 0> { |
| 994 public: | 1008 public: |
| 995 explicit LFixedArrayLength(LOperand* value) { | 1009 explicit LFixedArrayLength(LOperand* value) { |
| 996 inputs_[0] = value; | 1010 inputs_[0] = value; |
| 997 } | 1011 } |
| 998 | 1012 |
| 999 DECLARE_CONCRETE_INSTRUCTION(FixedArrayLength, "fixed-array-length") | 1013 DECLARE_CONCRETE_INSTRUCTION(FixedArrayLength, "fixed-array-length") |
| 1000 DECLARE_HYDROGEN_ACCESSOR(FixedArrayLength) | 1014 DECLARE_HYDROGEN_ACCESSOR(FixedArrayLength) |
| 1001 }; | 1015 }; |
| 1002 | 1016 |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1132 class LLoadElements: public LTemplateInstruction<1, 1, 0> { | 1146 class LLoadElements: public LTemplateInstruction<1, 1, 0> { |
| 1133 public: | 1147 public: |
| 1134 explicit LLoadElements(LOperand* object) { | 1148 explicit LLoadElements(LOperand* object) { |
| 1135 inputs_[0] = object; | 1149 inputs_[0] = object; |
| 1136 } | 1150 } |
| 1137 | 1151 |
| 1138 DECLARE_CONCRETE_INSTRUCTION(LoadElements, "load-elements") | 1152 DECLARE_CONCRETE_INSTRUCTION(LoadElements, "load-elements") |
| 1139 }; | 1153 }; |
| 1140 | 1154 |
| 1141 | 1155 |
| 1156 class LLoadPixelArrayExternalPointer: public LTemplateInstruction<1, 1, 0> { |
| 1157 public: |
| 1158 explicit LLoadPixelArrayExternalPointer(LOperand* object) { |
| 1159 inputs_[0] = object; |
| 1160 } |
| 1161 |
| 1162 DECLARE_CONCRETE_INSTRUCTION(LoadPixelArrayExternalPointer, |
| 1163 "load-pixel-array-external-pointer") |
| 1164 }; |
| 1165 |
| 1166 |
| 1142 class LLoadKeyedFastElement: public LTemplateInstruction<1, 2, 0> { | 1167 class LLoadKeyedFastElement: public LTemplateInstruction<1, 2, 0> { |
| 1143 public: | 1168 public: |
| 1144 LLoadKeyedFastElement(LOperand* elements, LOperand* key) { | 1169 LLoadKeyedFastElement(LOperand* elements, LOperand* key) { |
| 1145 inputs_[0] = elements; | 1170 inputs_[0] = elements; |
| 1146 inputs_[1] = key; | 1171 inputs_[1] = key; |
| 1147 } | 1172 } |
| 1148 | 1173 |
| 1149 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedFastElement, "load-keyed-fast-element") | 1174 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedFastElement, "load-keyed-fast-element") |
| 1150 DECLARE_HYDROGEN_ACCESSOR(LoadKeyedFastElement) | 1175 DECLARE_HYDROGEN_ACCESSOR(LoadKeyedFastElement) |
| 1151 | 1176 |
| 1152 LOperand* elements() { return inputs_[0]; } | 1177 LOperand* elements() { return inputs_[0]; } |
| 1153 LOperand* key() { return inputs_[1]; } | 1178 LOperand* key() { return inputs_[1]; } |
| 1154 }; | 1179 }; |
| 1155 | 1180 |
| 1156 | 1181 |
| 1182 class LLoadPixelArrayElement: public LTemplateInstruction<1, 2, 0> { |
| 1183 public: |
| 1184 LLoadPixelArrayElement(LOperand* external_pointer, LOperand* key) { |
| 1185 inputs_[0] = external_pointer; |
| 1186 inputs_[1] = key; |
| 1187 } |
| 1188 |
| 1189 DECLARE_CONCRETE_INSTRUCTION(LoadPixelArrayElement, |
| 1190 "load-pixel-array-element") |
| 1191 DECLARE_HYDROGEN_ACCESSOR(LoadPixelArrayElement) |
| 1192 |
| 1193 LOperand* external_pointer() { return inputs_[0]; } |
| 1194 LOperand* key() { return inputs_[1]; } |
| 1195 }; |
| 1196 |
| 1197 |
| 1157 class LLoadKeyedGeneric: public LTemplateInstruction<1, 2, 0> { | 1198 class LLoadKeyedGeneric: public LTemplateInstruction<1, 2, 0> { |
| 1158 public: | 1199 public: |
| 1159 LLoadKeyedGeneric(LOperand* obj, LOperand* key) { | 1200 LLoadKeyedGeneric(LOperand* obj, LOperand* key) { |
| 1160 inputs_[0] = obj; | 1201 inputs_[0] = obj; |
| 1161 inputs_[1] = key; | 1202 inputs_[1] = key; |
| 1162 } | 1203 } |
| 1163 | 1204 |
| 1164 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedGeneric, "load-keyed-generic") | 1205 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedGeneric, "load-keyed-generic") |
| 1165 | 1206 |
| 1166 LOperand* object() { return inputs_[0]; } | 1207 LOperand* object() { return inputs_[0]; } |
| (...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1970 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2011 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 1971 }; | 2012 }; |
| 1972 | 2013 |
| 1973 #undef DECLARE_HYDROGEN_ACCESSOR | 2014 #undef DECLARE_HYDROGEN_ACCESSOR |
| 1974 #undef DECLARE_INSTRUCTION | 2015 #undef DECLARE_INSTRUCTION |
| 1975 #undef DECLARE_CONCRETE_INSTRUCTION | 2016 #undef DECLARE_CONCRETE_INSTRUCTION |
| 1976 | 2017 |
| 1977 } } // namespace v8::internal | 2018 } } // namespace v8::internal |
| 1978 | 2019 |
| 1979 #endif // V8_ARM_LITHIUM_ARM_H_ | 2020 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |