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

Unified Diff: src/compiler/typer.h

Issue 868883002: Remove the dependency of Zone on Isolate (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: All platforms Created 5 years, 11 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/compiler/typer.h
diff --git a/src/compiler/typer.h b/src/compiler/typer.h
index b65a9a5aff09edb1c5a13f4cc1df494b70d4e574..6baf9697319ab0e5e3b2e4a1a59722a3373bc9c3 100644
--- a/src/compiler/typer.h
+++ b/src/compiler/typer.h
@@ -21,7 +21,7 @@ class LazyTypeCache;
class Typer {
public:
- explicit Typer(Graph* graph, MaybeHandle<Context> context);
+ explicit Typer(Isolate* isolate, Graph* graph, MaybeHandle<Context> context);
Michael Starzinger 2015/01/23 14:21:10 nit: No longer needs to be marked "explicit".
danno 2015/01/23 14:45:20 Done.
~Typer();
void Run();
@@ -29,12 +29,13 @@ class Typer {
Graph* graph() { return graph_; }
MaybeHandle<Context> context() { return context_; }
Zone* zone() { return graph_->zone(); }
- Isolate* isolate() { return zone()->isolate(); }
+ Isolate* isolate() { return isolate_; }
private:
class Visitor;
class Decorator;
+ Isolate* isolate_;
Graph* graph_;
MaybeHandle<Context> context_;
Decorator* decorator_;

Powered by Google App Engine
This is Rietveld 408576698