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

Unified Diff: src/hydrogen.h

Issue 1302173007: [es6] Introduce a dedicated JSIteratorResult type. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/heap/objects-visiting.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen.h
diff --git a/src/hydrogen.h b/src/hydrogen.h
index c5f35a32b6c8562bd1ecc7b62176127ea83bf0c3..e666d0a8bf81fe08b49be54936004d79b0a962b3 100644
--- a/src/hydrogen.h
+++ b/src/hydrogen.h
@@ -1358,6 +1358,9 @@ class HGraphBuilder {
HValue* hash,
LanguageMode language_mode);
+ // ES6 section 7.4.7 CreateIterResultObject ( value, done )
+ HValue* BuildCreateIterResultObject(HValue* value, HValue* done);
+
HValue* BuildRegExpConstructResult(HValue* length,
HValue* index,
HValue* input);
@@ -2267,6 +2270,8 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor {
F(JSCollectionGetTable) \
F(StringGetRawHashField) \
F(TheHole) \
+ /* ES6 Iterators */ \
+ F(CreateIterResultObject) \
/* Arrays */ \
F(HasFastPackedElements) \
F(GetPrototype) \
« no previous file with comments | « src/heap/objects-visiting.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698