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

Side by Side Diff: src/hydrogen.h

Issue 61893009: Add initial hydrogenized NewStringAddStub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month 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
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 1245 matching lines...) Expand 10 before | Expand all | Expand 10 after
1256 HValue* length); 1256 HValue* length);
1257 1257
1258 void BuildTransitionElementsKind(HValue* object, 1258 void BuildTransitionElementsKind(HValue* object,
1259 HValue* map, 1259 HValue* map,
1260 ElementsKind from_kind, 1260 ElementsKind from_kind,
1261 ElementsKind to_kind, 1261 ElementsKind to_kind,
1262 bool is_jsarray); 1262 bool is_jsarray);
1263 1263
1264 HValue* BuildNumberToString(HValue* object, Handle<Type> type); 1264 HValue* BuildNumberToString(HValue* object, Handle<Type> type);
1265 1265
1266 // Copies characters from one sequential string to another.
1267 void BuildCopySeqStringChars(HValue* src,
1268 HValue* src_offset,
1269 String::Encoding src_encoding,
1270 HValue* dst,
1271 HValue* dst_offset,
1272 String::Encoding dst_encoding,
1273 HValue* length);
1274 // Both operands are non-empty strings.
1275 HValue* BuildUncheckedStringAdd(HValue* left,
1276 HValue* right,
1277 PretenureFlag pretenure_flag);
1278 // Both operands are strings.
1279 HValue* BuildStringAdd(HValue* left,
1280 HValue* right,
1281 PretenureFlag pretenure_flag);
1282
1266 HInstruction* BuildUncheckedMonomorphicElementAccess( 1283 HInstruction* BuildUncheckedMonomorphicElementAccess(
1267 HValue* checked_object, 1284 HValue* checked_object,
1268 HValue* key, 1285 HValue* key,
1269 HValue* val, 1286 HValue* val,
1270 bool is_js_array, 1287 bool is_js_array,
1271 ElementsKind elements_kind, 1288 ElementsKind elements_kind,
1272 bool is_store, 1289 bool is_store,
1273 LoadKeyedHoleMode load_mode, 1290 LoadKeyedHoleMode load_mode,
1274 KeyedAccessStoreMode store_mode); 1291 KeyedAccessStoreMode store_mode);
1275 1292
(...skipping 1207 matching lines...) Expand 10 before | Expand all | Expand 10 after
2483 } 2500 }
2484 2501
2485 private: 2502 private:
2486 HGraphBuilder* builder_; 2503 HGraphBuilder* builder_;
2487 }; 2504 };
2488 2505
2489 2506
2490 } } // namespace v8::internal 2507 } } // namespace v8::internal
2491 2508
2492 #endif // V8_HYDROGEN_H_ 2509 #endif // V8_HYDROGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698