jitcraft/TypeManager.cpp
changeset 71 f7e573226c2b
parent 68 b40b0e18a918
child 72 40746ab0a30b
     1.1 --- a/jitcraft/TypeManager.cpp	Thu Jul 12 00:38:00 2012 -0700
     1.2 +++ b/jitcraft/TypeManager.cpp	Sat Jul 14 18:43:34 2012 -0700
     1.3 @@ -32,6 +32,10 @@
     1.4  bool
     1.5  TypeManager::initialize()
     1.6  {
     1.7 +    voidType_ = Type::NewVoid(zone_);
     1.8 +    if (!voidType_)
     1.9 +        return false;
    1.10 +
    1.11      Local<String> floatTag(zone_, zone_->makeSymbol("Float"));
    1.12      if (!floatTag)
    1.13          return false;
    1.14 @@ -112,4 +116,3 @@
    1.15          visitor->visit(referenceTypes_[i].address());
    1.16      }
    1.17  }
    1.18 -