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 1219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1230 HValue* elements, | 1230 HValue* elements, |
1231 ElementsKind kind, | 1231 ElementsKind kind, |
1232 HValue* length); | 1232 HValue* length); |
1233 | 1233 |
1234 void BuildTransitionElementsKind(HValue* object, | 1234 void BuildTransitionElementsKind(HValue* object, |
1235 HValue* map, | 1235 HValue* map, |
1236 ElementsKind from_kind, | 1236 ElementsKind from_kind, |
1237 ElementsKind to_kind, | 1237 ElementsKind to_kind, |
1238 bool is_jsarray); | 1238 bool is_jsarray); |
1239 | 1239 |
1240 // Do lookup in the number string cache. If the object is not found | |
1241 // in the cache, the false branch of the continuation is taken; | |
1242 // otherwise the true branch is taken and the returned value contains | |
1243 // the cache value for the object. The returned value must NOT be used | |
1244 // on the false branch. | |
1245 HValue* BuildLookupNumberStringCache(HValue* object, | |
1246 HIfContinuation* continuation); | |
1247 HValue* BuildNumberToString(HValue* number); | |
1248 | |
1249 HInstruction* BuildUncheckedMonomorphicElementAccess( | 1240 HInstruction* BuildUncheckedMonomorphicElementAccess( |
1250 HValue* checked_object, | 1241 HValue* checked_object, |
1251 HValue* key, | 1242 HValue* key, |
1252 HValue* val, | 1243 HValue* val, |
1253 bool is_js_array, | 1244 bool is_js_array, |
1254 ElementsKind elements_kind, | 1245 ElementsKind elements_kind, |
1255 bool is_store, | 1246 bool is_store, |
1256 LoadKeyedHoleMode load_mode, | 1247 LoadKeyedHoleMode load_mode, |
1257 KeyedAccessStoreMode store_mode); | 1248 KeyedAccessStoreMode store_mode); |
1258 | 1249 |
(...skipping 1180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2439 } | 2430 } |
2440 | 2431 |
2441 private: | 2432 private: |
2442 HGraphBuilder* builder_; | 2433 HGraphBuilder* builder_; |
2443 }; | 2434 }; |
2444 | 2435 |
2445 | 2436 |
2446 } } // namespace v8::internal | 2437 } } // namespace v8::internal |
2447 | 2438 |
2448 #endif // V8_HYDROGEN_H_ | 2439 #endif // V8_HYDROGEN_H_ |
OLD | NEW |