| Index: src/full-codegen.h
|
| diff --git a/src/full-codegen.h b/src/full-codegen.h
|
| index c810150802171157a9b93acc9607b3f1bb89b0fe..71e82c10defba7d088bcb248645b23850186e789 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.
|
| @@ -856,7 +853,6 @@ class FullCodeGenerator: public AstVisitor {
|
| Handle<FixedArray> handler_table_;
|
| Handle<Cell> profiling_counter_;
|
| bool generate_debug_code_;
|
| - Zone* zone_;
|
|
|
| friend class NestedStatement;
|
|
|
|
|