Index: src/full-codegen.h |
diff --git a/src/full-codegen.h b/src/full-codegen.h |
index 11d5341ecab48ee877a05f3ceb7b5d56a80cc287..40f0ccc2ff2bdbaa8dd72a8c066aa73c3190dbdf 100644 |
--- a/src/full-codegen.h |
+++ b/src/full-codegen.h |
@@ -52,8 +52,8 @@ class JumpPatchSite; |
// debugger to piggybag on. |
class BreakableStatementChecker: public AstVisitor { |
public: |
- explicit BreakableStatementChecker(Isolate* isolate) : is_breakable_(false) { |
- InitializeAstVisitor(isolate); |
+ explicit BreakableStatementChecker(Zone* zone) : is_breakable_(false) { |
+ InitializeAstVisitor(zone); |
} |
void Check(Statement* stmt); |
@@ -99,8 +99,7 @@ class FullCodeGenerator: public AstVisitor { |
type_feedback_cells_(info->HasDeoptimizationSupport() |
? info->function()->ast_node_count() : 0, |
info->zone()), |
- ic_total_count_(0), |
- zone_(info->zone()) { |
+ ic_total_count_(0) { |
Initialize(); |
} |
@@ -122,8 +121,6 @@ class FullCodeGenerator: public AstVisitor { |
return NULL; |
} |
- Zone* zone() const { return zone_; } |
- |
static const int kMaxBackEdgeWeight = 127; |
// Platform-specific code size multiplier. |
@@ -845,7 +842,6 @@ class FullCodeGenerator: public AstVisitor { |
Handle<FixedArray> handler_table_; |
Handle<Cell> profiling_counter_; |
bool generate_debug_code_; |
- Zone* zone_; |
friend class NestedStatement; |