src/BytecodeCompiler.h
changeset 172 48cffae8c9e0
parent 148 c0740249963c
child 174 e718b56aba78
     1.1 --- a/src/BytecodeCompiler.h	Sun Aug 12 13:22:56 2012 -0700
     1.2 +++ b/src/BytecodeCompiler.h	Sun Aug 12 20:48:49 2012 -0700
     1.3 @@ -114,6 +114,8 @@
     1.4      void getEnvSlot(Variable *var);
     1.5      void setEnvSlot(Variable *var);
     1.6  
     1.7 +    bool tableswitch(SwitchStatement *node);
     1.8 +
     1.9    public:
    1.10      BytecodeCompiler(Zone *zone, ParseTree *tree, ModuleData *module);
    1.11  
    1.12 @@ -145,6 +147,7 @@
    1.13      void visit(TernaryExpression *node);
    1.14      void visit(StructureStatement *node);
    1.15      void visit(FieldExpression *node);
    1.16 +    void visit(SwitchStatement *node);
    1.17  };
    1.18  
    1.19  }