src/Types.h
changeset 240 e3c851a14f16
parent 239 572668ef742b
child 241 18f3010a358c
     1.1 --- a/src/Types.h	Tue Dec 25 17:02:07 2012 -0800
     1.2 +++ b/src/Types.h	Tue Dec 25 18:13:02 2012 -0800
     1.3 @@ -140,7 +140,7 @@
     1.4          STRUCT
     1.5      };
     1.6  
     1.7 -    void init(Kind kind);
     1.8 +    void init(Kind kind, Type *root = NULL);
     1.9  
    1.10    private:
    1.11      Kind kind() {
    1.12 @@ -152,6 +152,7 @@
    1.13      static Type *NewUnchecked(Zone *zone);
    1.14      static Type *NewPrimitive(Zone *zone, PrimitiveType type);
    1.15      static Type *NewString(Zone *zone);
    1.16 +    static Type *NewQualified(Zone *zone, TypeQualifiers qual, Handle<Type> type);
    1.17  
    1.18      static Type *cast(Object *obj) {
    1.19          assert(!obj ||