1.1 --- a/jitcraft/BytecodeCompiler.h Tue Jul 03 00:21:37 2012 -0700
1.2 +++ b/jitcraft/BytecodeCompiler.h Tue Jul 03 00:25:29 2012 -0700
1.3 @@ -1,4 +1,5 @@
1.4 -/*
1.5 +/* vim: set ts=4 sw=4 tw=99 et:
1.6 + *
1.7 * Copyright (C) 2012 David Anderson
1.8 *
1.9 * This file is part of JITCraft.
1.10 @@ -28,6 +29,7 @@
1.11
1.12 class BytecodeCompiler : public AstVisitor
1.13 {
1.14 + Zone *zone_;
1.15 ParseTree *tree_;
1.16 BytecodeEmitter emitter_;
1.17 Module *module_;
1.18 @@ -99,7 +101,7 @@
1.19 void visitForALU(Type *needed, Expression *node);
1.20
1.21 public:
1.22 - BytecodeCompiler(ParseTree *tree, Module *module);
1.23 + BytecodeCompiler(Zone *zone, ParseTree *tree, Module *module);
1.24
1.25 Module *compile();
1.26