src/SemanticAnalysis.h
changeset 137 be919b22085b
parent 86 32ad0523b309
child 143 393f1b8ac8c3
     1.1 --- a/src/SemanticAnalysis.h	Sun Jul 29 19:47:31 2012 -0700
     1.2 +++ b/src/SemanticAnalysis.h	Mon Jul 30 00:03:46 2012 -0700
     1.3 @@ -30,7 +30,7 @@
     1.4      CompileContext &cc_;
     1.5      ParseTree *tree_;
     1.6      Scope *scope_;
     1.7 -    ScopedRoot<Type> function_;
     1.8 +    NamedFunction *function_;
     1.9  
    1.10      enum ReturnStatus
    1.11      {
    1.12 @@ -170,6 +170,8 @@
    1.13  
    1.14      void markCallResultUsed(CallExpression *call);
    1.15  
    1.16 +    bool determineLiveFunctions();
    1.17 +
    1.18    public:
    1.19      SemanticAnalysis(Zone *zone, CompileContext &cc, ParseTree *tree);
    1.20      bool analyze();