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 1216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1227 HValue* elements, | 1227 HValue* elements, |
1228 ElementsKind kind, | 1228 ElementsKind kind, |
1229 HValue* length); | 1229 HValue* length); |
1230 | 1230 |
1231 void BuildTransitionElementsKind(HValue* object, | 1231 void BuildTransitionElementsKind(HValue* object, |
1232 HValue* map, | 1232 HValue* map, |
1233 ElementsKind from_kind, | 1233 ElementsKind from_kind, |
1234 ElementsKind to_kind, | 1234 ElementsKind to_kind, |
1235 bool is_jsarray); | 1235 bool is_jsarray); |
1236 | 1236 |
1237 // Do lookup in the number string cache. If the object is not found | 1237 HValue* BuildSmiToString(HValue* number); |
1238 // in the cache, the false branch of the continuation is taken; | |
1239 // otherwise the true branch is taken and the returned value contains | |
1240 // the cache value for the object. The returned value must NOT be used | |
1241 // on the false branch. | |
1242 HValue* BuildLookupNumberStringCache(HValue* object, | |
1243 HIfContinuation* continuation); | |
1244 HValue* BuildNumberToString(HValue* number); | 1238 HValue* BuildNumberToString(HValue* number); |
1245 | 1239 |
1246 HInstruction* BuildUncheckedMonomorphicElementAccess( | 1240 HInstruction* BuildUncheckedMonomorphicElementAccess( |
1247 HValue* checked_object, | 1241 HValue* checked_object, |
1248 HValue* key, | 1242 HValue* key, |
1249 HValue* val, | 1243 HValue* val, |
1250 bool is_js_array, | 1244 bool is_js_array, |
1251 ElementsKind elements_kind, | 1245 ElementsKind elements_kind, |
1252 bool is_store, | 1246 bool is_store, |
1253 LoadKeyedHoleMode load_mode, | 1247 LoadKeyedHoleMode load_mode, |
(...skipping 1213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2467 } | 2461 } |
2468 | 2462 |
2469 private: | 2463 private: |
2470 HGraphBuilder* builder_; | 2464 HGraphBuilder* builder_; |
2471 }; | 2465 }; |
2472 | 2466 |
2473 | 2467 |
2474 } } // namespace v8::internal | 2468 } } // namespace v8::internal |
2475 | 2469 |
2476 #endif // V8_HYDROGEN_H_ | 2470 #endif // V8_HYDROGEN_H_ |
OLD | NEW |