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

Unified Diff: src/interpreter/constant-array-builder.cc

Issue 2637403008: [async-iteration] add support for for-await-of loops in Async Functions (Closed)
Patch Set: remove that comment Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/interpreter/constant-array-builder.h ('k') | src/messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interpreter/constant-array-builder.cc
diff --git a/src/interpreter/constant-array-builder.cc b/src/interpreter/constant-array-builder.cc
index 4b64f5b477da7da91ab76a578fd7f2be866cceb2..74d887a61a108cfc3620e5b4037e1ec3405523cd 100644
--- a/src/interpreter/constant-array-builder.cc
+++ b/src/interpreter/constant-array-builder.cc
@@ -319,12 +319,11 @@ Handle<Object> ConstantArrayBuilder::Entry::ToHandle(Isolate* isolate) const {
return heap_number_->value();
case Tag::kScope:
return scope_->scope_info();
- case Tag::kIteratorSymbol:
- return isolate->factory()->iterator_symbol();
- case Tag::kHomeObjectSymbol:
- return isolate->factory()->home_object_symbol();
- case Tag::kEmptyFixedArray:
- return isolate->factory()->empty_fixed_array();
+#define ENTRY_LOOKUP(Name, name) \
+ case Tag::k##Name: \
+ return isolate->factory()->name();
+ SINGLETON_CONSTANT_ENTRY_TYPES(ENTRY_LOOKUP);
+#undef ENTRY_LOOKUP
}
UNREACHABLE();
return Handle<Object>::null();
« no previous file with comments | « src/interpreter/constant-array-builder.h ('k') | src/messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698