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 1235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1246 HInstruction* BuildUncheckedMonomorphicElementAccess( | 1246 HInstruction* BuildUncheckedMonomorphicElementAccess( |
1247 HValue* checked_object, | 1247 HValue* checked_object, |
1248 HValue* key, | 1248 HValue* key, |
1249 HValue* val, | 1249 HValue* val, |
1250 bool is_js_array, | 1250 bool is_js_array, |
1251 ElementsKind elements_kind, | 1251 ElementsKind elements_kind, |
1252 bool is_store, | 1252 bool is_store, |
1253 LoadKeyedHoleMode load_mode, | 1253 LoadKeyedHoleMode load_mode, |
1254 KeyedAccessStoreMode store_mode); | 1254 KeyedAccessStoreMode store_mode); |
1255 | 1255 |
1256 HInstruction* AddExternalArrayElementAccess( | 1256 HInstruction* AddElementAccess( |
1257 HValue* external_elements, | |
1258 HValue* checked_key, | |
1259 HValue* val, | |
1260 HValue* dependency, | |
1261 ElementsKind elements_kind, | |
1262 bool is_store); | |
1263 | |
1264 HInstruction* AddFastElementAccess( | |
1265 HValue* elements, | 1257 HValue* elements, |
1266 HValue* checked_key, | 1258 HValue* checked_key, |
1267 HValue* val, | 1259 HValue* val, |
1268 HValue* dependency, | 1260 HValue* dependency, |
1269 ElementsKind elements_kind, | 1261 ElementsKind elements_kind, |
1270 bool is_store, | 1262 bool is_store, |
1271 LoadKeyedHoleMode load_mode, | 1263 LoadKeyedHoleMode load_mode = NEVER_RETURN_HOLE); |
1272 KeyedAccessStoreMode store_mode); | |
1273 | 1264 |
1274 HLoadNamedField* BuildLoadNamedField(HValue* object, HObjectAccess access); | 1265 HLoadNamedField* BuildLoadNamedField(HValue* object, HObjectAccess access); |
1275 HInstruction* BuildLoadStringLength(HValue* object, HValue* checked_value); | 1266 HInstruction* BuildLoadStringLength(HValue* object, HValue* checked_value); |
1276 HStoreNamedField* AddStoreMapConstant(HValue* object, Handle<Map>); | 1267 HStoreNamedField* AddStoreMapConstant(HValue* object, Handle<Map>); |
1277 HLoadNamedField* AddLoadElements(HValue* object); | 1268 HLoadNamedField* AddLoadElements(HValue* object); |
1278 | 1269 |
1279 bool MatchRotateRight(HValue* left, | 1270 bool MatchRotateRight(HValue* left, |
1280 HValue* right, | 1271 HValue* right, |
1281 HValue** operand, | 1272 HValue** operand, |
1282 HValue** shift_amount); | 1273 HValue** shift_amount); |
(...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2189 HValue* val, | 2180 HValue* val, |
2190 HValue* dependency, | 2181 HValue* dependency, |
2191 Handle<Map> map, | 2182 Handle<Map> map, |
2192 bool is_store, | 2183 bool is_store, |
2193 KeyedAccessStoreMode store_mode); | 2184 KeyedAccessStoreMode store_mode); |
2194 | 2185 |
2195 HValue* HandlePolymorphicElementAccess(HValue* object, | 2186 HValue* HandlePolymorphicElementAccess(HValue* object, |
2196 HValue* key, | 2187 HValue* key, |
2197 HValue* val, | 2188 HValue* val, |
2198 SmallMapList* maps, | 2189 SmallMapList* maps, |
2199 BailoutId ast_id, | |
2200 int position, | 2190 int position, |
2201 bool is_store, | 2191 bool is_store, |
2202 KeyedAccessStoreMode store_mode, | 2192 KeyedAccessStoreMode store_mode, |
2203 bool* has_side_effects); | 2193 bool* has_side_effects); |
2204 | 2194 |
2205 HValue* HandleKeyedElementAccess(HValue* obj, | 2195 HValue* HandleKeyedElementAccess(HValue* obj, |
2206 HValue* key, | 2196 HValue* key, |
2207 HValue* val, | 2197 HValue* val, |
2208 Expression* expr, | 2198 Expression* expr, |
2209 BailoutId ast_id, | |
2210 int position, | 2199 int position, |
2211 bool is_store, | 2200 bool is_store, |
2212 bool* has_side_effects); | 2201 bool* has_side_effects); |
2213 | 2202 |
2214 HInstruction* BuildLoadNamedGeneric(HValue* object, | 2203 HInstruction* BuildLoadNamedGeneric(HValue* object, |
2215 Handle<String> name, | 2204 Handle<String> name, |
2216 Property* expr); | 2205 Property* expr); |
2217 | 2206 |
2218 HCheckMaps* AddCheckMap(HValue* object, Handle<Map> map); | 2207 HCheckMaps* AddCheckMap(HValue* object, Handle<Map> map); |
2219 | 2208 |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2474 } | 2463 } |
2475 | 2464 |
2476 private: | 2465 private: |
2477 HGraphBuilder* builder_; | 2466 HGraphBuilder* builder_; |
2478 }; | 2467 }; |
2479 | 2468 |
2480 | 2469 |
2481 } } // namespace v8::internal | 2470 } } // namespace v8::internal |
2482 | 2471 |
2483 #endif // V8_HYDROGEN_H_ | 2472 #endif // V8_HYDROGEN_H_ |
OLD | NEW |