diff ir/irclass.cpp @ 1453:f35a9a77d256

More tweaks.
author Robert Clipsham <robert@octarineparrot.com>
date Mon, 01 Jun 2009 18:58:21 +0100
parents 638d16625da2
children ed70675862c8
line wrap: on
line diff
--- a/ir/irclass.cpp	Sat May 30 17:23:32 2009 +0100
+++ b/ir/irclass.cpp	Mon Jun 01 18:58:21 2009 +0100
@@ -178,12 +178,10 @@
     // build the constant struct
     constVtbl = llvm::ConstantStruct::get(constants, false);
 
-    // sanity check
 #if 0
-    IF_LOG Logger::cout() << "constVtbl type: " << *constVtbl->getType() << std::endl;
-    IF_LOG Logger::cout() << "vtbl type: " << *type->irtype->isClass()->getVtbl() << std::endl;
+   IF_LOG Logger::cout() << "constVtbl type: " << *constVtbl->getType() << std::endl;
+   IF_LOG Logger::cout() << "vtbl type: " << *type->irtype->isClass()->getVtbl() << std::endl;
 #endif
-
     assert(constVtbl->getType() == type->irtype->isClass()->getVtbl() &&
         "vtbl initializer type mismatch");