From 60f87bc4ad59cb63e27bd5e43f2355699b21093a Mon Sep 17 00:00:00 2001 From: theraven Date: Wed, 28 Apr 2010 14:47:02 +0000 Subject: [PATCH] Removed debugging code that shouldn't have been in last commit. Aside: Testing the two passes from the last commit shows that they provide about a factor of 10 speedup for class messages. --- opts/ClassLookupCache.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/opts/ClassLookupCache.cpp b/opts/ClassLookupCache.cpp index 940005e..5a3df1d 100644 --- a/opts/ClassLookupCache.cpp +++ b/opts/ClassLookupCache.cpp @@ -61,7 +61,6 @@ namespace for (SmallVectorImpl::iterator i=Lookups.begin(), e=Lookups.end() ; e!=i ; i++) { Value *global = M->getGlobalVariable(("_OBJC_CLASS_" + i->second).c_str(), true); - fprintf(stderr, "%s\n", ("_OBJC_CLASS_" + i->second).c_str()); if (global) { Value *cls = new BitCastInst(global, i->first->getType(), "class", i->first); i->first->replaceAllUsesWith(cls);