Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(363)

Side by Side Diff: src/hydrogen.h

Issue 23726041: Turn the NumberToStringStub into a hydrogen stub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments. Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
1240 HInstruction* BuildUncheckedMonomorphicElementAccess( 1249 HInstruction* BuildUncheckedMonomorphicElementAccess(
1241 HValue* checked_object, 1250 HValue* checked_object,
1242 HValue* key, 1251 HValue* key,
1243 HValue* val, 1252 HValue* val,
1244 bool is_js_array, 1253 bool is_js_array,
1245 ElementsKind elements_kind, 1254 ElementsKind elements_kind,
1246 bool is_store, 1255 bool is_store,
1247 LoadKeyedHoleMode load_mode, 1256 LoadKeyedHoleMode load_mode,
1248 KeyedAccessStoreMode store_mode); 1257 KeyedAccessStoreMode store_mode);
1249 1258
(...skipping 1180 matching lines...) Expand 10 before | Expand all | Expand 10 after
2430 } 2439 }
2431 2440
2432 private: 2441 private:
2433 HGraphBuilder* builder_; 2442 HGraphBuilder* builder_;
2434 }; 2443 };
2435 2444
2436 2445
2437 } } // namespace v8::internal 2446 } } // namespace v8::internal
2438 2447
2439 #endif // V8_HYDROGEN_H_ 2448 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698