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

Unified Diff: src/parser.h

Issue 912563004: Get rid of PreParserScope. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 | « no previous file | src/parser.cc » ('j') | src/preparser.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parser.h
diff --git a/src/parser.h b/src/parser.h
index 9c2b05673a27d70450b04381d78da7d5fed3f215..ac36e1bfaf8e74f4ddc5a4ad80dd91b9bb8684eb 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -358,11 +358,6 @@ class ParserTraits {
// it needs.
typedef v8::internal::Parser* Parser;
- // Used by FunctionState and BlockState.
- typedef v8::internal::Scope Scope;
- typedef v8::internal::Scope* ScopePtr;
- inline static Scope* ptr_to_scope(ScopePtr scope) { return scope; }
-
typedef Variable GeneratorVariable;
typedef v8::internal::AstProperties AstProperties;
@@ -846,10 +841,6 @@ class Parser : public ParserBase<ParserTraits> {
IterationStatement* LookupContinueTarget(const AstRawString* label, bool* ok);
// Factory methods.
-
- Scope* NewScope(Scope* parent, ScopeType type,
- FunctionKind kind = kNormalFunction);
-
FunctionLiteral* DefaultConstructor(bool call_super, Scope* scope, int pos,
int end_pos);
« no previous file with comments | « no previous file | src/parser.cc » ('j') | src/preparser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698