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

Unified Diff: src/ast.cc

Issue 1399893002: [es7] implement |do| expressions proposal (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix AST numbering issue + add simple TF impl Created 5 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 side-by-side diff with in-line comments
Download patch
Index: src/ast.cc
diff --git a/src/ast.cc b/src/ast.cc
index 91b5c30dff26266a422addb6f75f2f59e8559563..6e0e5b3d70ee269e70c81a18e151850ecff8d0b7 100644
--- a/src/ast.cc
+++ b/src/ast.cc
@@ -1128,5 +1128,11 @@ bool Literal::Match(void* literal1, void* literal2) {
}
+Variable* AstNodeFactory::NewTemporaryVar(Scope* scope,
rossberg 2015/10/12 13:52:39 This function seems rather redundant.
caitp (gmail) 2015/10/12 18:22:59 Yeah, it's gone. It's more useful to let the NewDo
+ const AstRawString* name) {
+ return scope->NewTemporary(name);
+}
+
+
} // namespace internal
} // namespace v8

Powered by Google App Engine
This is Rietveld 408576698