jitcraft/BytecodeCompiler.h
changeset 12 75e385f68b7e
parent 10 0c3bcd50e361
child 14 0784ac5cc347
     1.1 --- a/jitcraft/BytecodeCompiler.h	Fri Jun 29 19:35:17 2012 -0700
     1.2 +++ b/jitcraft/BytecodeCompiler.h	Sat Jun 30 19:38:53 2012 -0700
     1.3 @@ -31,7 +31,7 @@
     1.4      ParseTree *tree_;
     1.5      BytecodeEmitter emitter_;
     1.6      Module *module_;
     1.7 -    Type **locals_;
     1.8 +    FixedArray *locals_;
     1.9      Scope *scope_;
    1.10  
    1.11      class LoopScope
    1.12 @@ -92,7 +92,7 @@
    1.13      };
    1.14  
    1.15    private:
    1.16 -    void leaveScope(Scope *scope);
    1.17 +    void recordLifoSlot(Scope *scope);
    1.18      void unwindTo(Scope *scope);
    1.19      void visitForTest(Expression *expression, BytecodeEmitter::Label *label, bool onTrue);
    1.20      Code *compileFunction(Module *module, FunctionStatement *fun);