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

Unified Diff: src/rewriter.h

Issue 1481613002: Create ast/ and parsing/ subdirectories and move appropriate files (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/regexp/regexp-macro-assembler-tracer.cc ('k') | src/rewriter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/rewriter.h
diff --git a/src/rewriter.h b/src/rewriter.h
deleted file mode 100644
index fdb36d1d3e20773fd28557766a5f5f833127d314..0000000000000000000000000000000000000000
--- a/src/rewriter.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2011 the V8 project authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef V8_REWRITER_H_
-#define V8_REWRITER_H_
-
-namespace v8 {
-namespace internal {
-
-class AstValueFactory;
-class DoExpression;
-class ParseInfo;
-class Parser;
-
-class Rewriter {
- public:
- // Rewrite top-level code (ECMA 262 "programs") so as to conservatively
- // include an assignment of the value of the last statement in the code to
- // a compiler-generated temporary variable wherever needed.
- //
- // Assumes code has been parsed and scopes have been analyzed. Mutates the
- // AST, so the AST should not continue to be used in the case of failure.
- static bool Rewrite(ParseInfo* info);
-
- // Rewrite a list of statements, using the same rules as a top-level program,
- // to ensure identical behaviour of completion result.
- static bool Rewrite(Parser* parser, DoExpression* expr,
- AstValueFactory* factory);
-};
-
-
-} // namespace internal
-} // namespace v8
-
-#endif // V8_REWRITER_H_
« no previous file with comments | « src/regexp/regexp-macro-assembler-tracer.cc ('k') | src/rewriter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698