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

Side by Side Diff: src/hydrogen.h

Issue 141703018: Turn RegExpConstructResultStub into a HydrogenCodeStub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE Created 6 years, 10 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 1293 matching lines...) Expand 10 before | Expand all | Expand 10 after
1304 HValue* map, 1304 HValue* map,
1305 ElementsKind from_kind, 1305 ElementsKind from_kind,
1306 ElementsKind to_kind, 1306 ElementsKind to_kind,
1307 bool is_jsarray); 1307 bool is_jsarray);
1308 1308
1309 HValue* BuildNumberToString(HValue* object, Type* type); 1309 HValue* BuildNumberToString(HValue* object, Type* type);
1310 1310
1311 HValue* BuildUncheckedDictionaryElementLoad(HValue* receiver, 1311 HValue* BuildUncheckedDictionaryElementLoad(HValue* receiver,
1312 HValue* key); 1312 HValue* key);
1313 1313
1314 HValue* BuildRegExpConstructResult(HValue* length,
1315 HValue* index,
1316 HValue* input);
1317
1314 // Allocates a new object according with the given allocation properties. 1318 // Allocates a new object according with the given allocation properties.
1315 HAllocate* BuildAllocate(HValue* object_size, 1319 HAllocate* BuildAllocate(HValue* object_size,
1316 HType type, 1320 HType type,
1317 InstanceType instance_type, 1321 InstanceType instance_type,
1318 HAllocationMode allocation_mode); 1322 HAllocationMode allocation_mode);
1319 // Computes the sum of two string lengths, taking care of overflow handling. 1323 // Computes the sum of two string lengths, taking care of overflow handling.
1320 HValue* BuildAddStringLengths(HValue* left_length, HValue* right_length); 1324 HValue* BuildAddStringLengths(HValue* left_length, HValue* right_length);
1321 // Creates a cons string using the two input strings. 1325 // Creates a cons string using the two input strings.
1322 HValue* BuildCreateConsString(HValue* length, 1326 HValue* BuildCreateConsString(HValue* length,
1323 HValue* left, 1327 HValue* left,
(...skipping 1372 matching lines...) Expand 10 before | Expand all | Expand 10 after
2696 } 2700 }
2697 2701
2698 private: 2702 private:
2699 HGraphBuilder* builder_; 2703 HGraphBuilder* builder_;
2700 }; 2704 };
2701 2705
2702 2706
2703 } } // namespace v8::internal 2707 } } // namespace v8::internal
2704 2708
2705 #endif // V8_HYDROGEN_H_ 2709 #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