| 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(Power) \ | 138 V(Power) \ |
| 136 V(PushArgument) \ | 139 V(PushArgument) \ |
| 137 V(RegExpLiteral) \ | 140 V(RegExpLiteral) \ |
| 138 V(Return) \ | 141 V(Return) \ |
| 139 V(ShiftI) \ | 142 V(ShiftI) \ |
| 140 V(SmiTag) \ | 143 V(SmiTag) \ |
| 141 V(SmiUntag) \ | 144 V(SmiUntag) \ |
| 142 V(StackCheck) \ | 145 V(StackCheck) \ |
| 143 V(StoreContextSlot) \ | 146 V(StoreContextSlot) \ |
| 144 V(StoreGlobal) \ | 147 V(StoreGlobal) \ |
| (...skipping 847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 992 public: | 995 public: |
| 993 explicit LJSArrayLength(LOperand* value) { | 996 explicit LJSArrayLength(LOperand* value) { |
| 994 inputs_[0] = value; | 997 inputs_[0] = value; |
| 995 } | 998 } |
| 996 | 999 |
| 997 DECLARE_CONCRETE_INSTRUCTION(JSArrayLength, "js-array-length") | 1000 DECLARE_CONCRETE_INSTRUCTION(JSArrayLength, "js-array-length") |
| 998 DECLARE_HYDROGEN_ACCESSOR(JSArrayLength) | 1001 DECLARE_HYDROGEN_ACCESSOR(JSArrayLength) |
| 999 }; | 1002 }; |
| 1000 | 1003 |
| 1001 | 1004 |
| 1005 class LPixelArrayLength: public LTemplateInstruction<1, 1, 0> { |
| 1006 public: |
| 1007 explicit LPixelArrayLength(LOperand* value) { |
| 1008 inputs_[0] = value; |
| 1009 } |
| 1010 |
| 1011 DECLARE_CONCRETE_INSTRUCTION(PixelArrayLength, "pixel-array-length") |
| 1012 DECLARE_HYDROGEN_ACCESSOR(PixelArrayLength) |
| 1013 }; |
| 1014 |
| 1015 |
| 1002 class LFixedArrayLength: public LTemplateInstruction<1, 1, 0> { | 1016 class LFixedArrayLength: public LTemplateInstruction<1, 1, 0> { |
| 1003 public: | 1017 public: |
| 1004 explicit LFixedArrayLength(LOperand* value) { | 1018 explicit LFixedArrayLength(LOperand* value) { |
| 1005 inputs_[0] = value; | 1019 inputs_[0] = value; |
| 1006 } | 1020 } |
| 1007 | 1021 |
| 1008 DECLARE_CONCRETE_INSTRUCTION(FixedArrayLength, "fixed-array-length") | 1022 DECLARE_CONCRETE_INSTRUCTION(FixedArrayLength, "fixed-array-length") |
| 1009 DECLARE_HYDROGEN_ACCESSOR(FixedArrayLength) | 1023 DECLARE_HYDROGEN_ACCESSOR(FixedArrayLength) |
| 1010 }; | 1024 }; |
| 1011 | 1025 |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1154 class LLoadElements: public LTemplateInstruction<1, 1, 0> { | 1168 class LLoadElements: public LTemplateInstruction<1, 1, 0> { |
| 1155 public: | 1169 public: |
| 1156 explicit LLoadElements(LOperand* object) { | 1170 explicit LLoadElements(LOperand* object) { |
| 1157 inputs_[0] = object; | 1171 inputs_[0] = object; |
| 1158 } | 1172 } |
| 1159 | 1173 |
| 1160 DECLARE_CONCRETE_INSTRUCTION(LoadElements, "load-elements") | 1174 DECLARE_CONCRETE_INSTRUCTION(LoadElements, "load-elements") |
| 1161 }; | 1175 }; |
| 1162 | 1176 |
| 1163 | 1177 |
| 1178 class LLoadPixelArrayExternalPointer: public LTemplateInstruction<1, 1, 0> { |
| 1179 public: |
| 1180 explicit LLoadPixelArrayExternalPointer(LOperand* object) { |
| 1181 inputs_[0] = object; |
| 1182 } |
| 1183 |
| 1184 DECLARE_CONCRETE_INSTRUCTION(LoadPixelArrayExternalPointer, |
| 1185 "load-pixel-array-external-pointer") |
| 1186 }; |
| 1187 |
| 1188 |
| 1164 class LLoadKeyedFastElement: public LTemplateInstruction<1, 2, 0> { | 1189 class LLoadKeyedFastElement: public LTemplateInstruction<1, 2, 0> { |
| 1165 public: | 1190 public: |
| 1166 LLoadKeyedFastElement(LOperand* elements, LOperand* key) { | 1191 LLoadKeyedFastElement(LOperand* elements, LOperand* key) { |
| 1167 inputs_[0] = elements; | 1192 inputs_[0] = elements; |
| 1168 inputs_[1] = key; | 1193 inputs_[1] = key; |
| 1169 } | 1194 } |
| 1170 | 1195 |
| 1171 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedFastElement, "load-keyed-fast-element") | 1196 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedFastElement, "load-keyed-fast-element") |
| 1172 DECLARE_HYDROGEN_ACCESSOR(LoadKeyedFastElement) | 1197 DECLARE_HYDROGEN_ACCESSOR(LoadKeyedFastElement) |
| 1173 | 1198 |
| 1174 LOperand* elements() { return inputs_[0]; } | 1199 LOperand* elements() { return inputs_[0]; } |
| 1175 LOperand* key() { return inputs_[1]; } | 1200 LOperand* key() { return inputs_[1]; } |
| 1176 }; | 1201 }; |
| 1177 | 1202 |
| 1178 | 1203 |
| 1204 class LLoadPixelArrayElement: public LTemplateInstruction<1, 2, 0> { |
| 1205 public: |
| 1206 LLoadPixelArrayElement(LOperand* external_pointer, LOperand* key) { |
| 1207 inputs_[0] = external_pointer; |
| 1208 inputs_[1] = key; |
| 1209 } |
| 1210 |
| 1211 DECLARE_CONCRETE_INSTRUCTION(LoadPixelArrayElement, |
| 1212 "load-pixel-array-element") |
| 1213 DECLARE_HYDROGEN_ACCESSOR(LoadPixelArrayElement) |
| 1214 |
| 1215 LOperand* external_pointer() { return inputs_[0]; } |
| 1216 LOperand* key() { return inputs_[1]; } |
| 1217 }; |
| 1218 |
| 1219 |
| 1179 class LLoadKeyedGeneric: public LTemplateInstruction<1, 2, 0> { | 1220 class LLoadKeyedGeneric: public LTemplateInstruction<1, 2, 0> { |
| 1180 public: | 1221 public: |
| 1181 LLoadKeyedGeneric(LOperand* obj, LOperand* key) { | 1222 LLoadKeyedGeneric(LOperand* obj, LOperand* key) { |
| 1182 inputs_[0] = obj; | 1223 inputs_[0] = obj; |
| 1183 inputs_[1] = key; | 1224 inputs_[1] = key; |
| 1184 } | 1225 } |
| 1185 | 1226 |
| 1186 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedGeneric, "load-keyed-generic") | 1227 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedGeneric, "load-keyed-generic") |
| 1187 | 1228 |
| 1188 LOperand* object() { return inputs_[0]; } | 1229 LOperand* object() { return inputs_[0]; } |
| (...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1997 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2038 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 1998 }; | 2039 }; |
| 1999 | 2040 |
| 2000 #undef DECLARE_HYDROGEN_ACCESSOR | 2041 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2001 #undef DECLARE_INSTRUCTION | 2042 #undef DECLARE_INSTRUCTION |
| 2002 #undef DECLARE_CONCRETE_INSTRUCTION | 2043 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2003 | 2044 |
| 2004 } } // namespace v8::internal | 2045 } } // namespace v8::internal |
| 2005 | 2046 |
| 2006 #endif // V8_IA32_LITHIUM_IA32_H_ | 2047 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |