jitcraft/AST.h
changeset 29 c0e27b4f0672
parent 28 a9665857cfd5
child 54 8e22792a3921
     1.1 --- a/jitcraft/AST.h	Mon Jul 02 23:37:12 2012 -0700
     1.2 +++ b/jitcraft/AST.h	Tue Jul 03 00:21:37 2012 -0700
     1.3 @@ -135,7 +135,7 @@
     1.4  
     1.5  class Expression : public AstNode
     1.6  {
     1.7 -    Type *type_;
     1.8 +    ScopedRoot<Type> type_;
     1.9  
    1.10    public:
    1.11      Expression(const SourcePosition &pos)
    1.12 @@ -295,7 +295,7 @@
    1.13  
    1.14  class StringLiteral : public Expression
    1.15  {
    1.16 -    ByteArray *string_;
    1.17 +    ScopedRoot<ByteArray> string_;
    1.18  
    1.19    public:
    1.20      StringLiteral(const SourcePosition &pos, ByteArray *array)