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

Unified Diff: src/crankshaft/typing.h

Issue 2209573002: Separate Scope into DeclarationScope and Scope (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Move has_simple_parameters_ to DeclarationScope Created 4 years, 4 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/crankshaft/typing.h
diff --git a/src/crankshaft/typing.h b/src/crankshaft/typing.h
index c03ee2d995698e8f181b71839f587f21934e5043..1e301ccbbb7f62ea2ec5cbde43cb8b063f77f2be 100644
--- a/src/crankshaft/typing.h
+++ b/src/crankshaft/typing.h
@@ -20,7 +20,7 @@ namespace internal {
class AstTyper final : public AstVisitor<AstTyper> {
public:
AstTyper(Isolate* isolate, Zone* zone, Handle<JSFunction> closure,
- Scope* scope, BailoutId osr_ast_id, FunctionLiteral* root,
+ DeclarationScope* scope, BailoutId osr_ast_id, FunctionLiteral* root,
AstTypeBounds* bounds);
void Run();
@@ -37,7 +37,7 @@ class AstTyper final : public AstVisitor<AstTyper> {
Isolate* isolate_;
Zone* zone_;
Handle<JSFunction> closure_;
- Scope* scope_;
+ DeclarationScope* scope_;
BailoutId osr_ast_id_;
FunctionLiteral* root_;
TypeFeedbackOracle oracle_;

Powered by Google App Engine
This is Rietveld 408576698