[cfe-commits] r79956 - /cfe/trunk/lib/CodeGen/CGObjCMac.cpp
Fariborz Jahanian
fjahanian at apple.com
Mon Aug 24 16:16:37 PDT 2009
Author: fjahanian
Date: Mon Aug 24 18:16:37 2009
New Revision: 79956
URL: http://llvm.org/viewvc/llvm-project?rev=79956&view=rev
Log:
Remove #ifdef'out code.
Modified:
cfe/trunk/lib/CodeGen/CGObjCMac.cpp
Modified: cfe/trunk/lib/CodeGen/CGObjCMac.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjCMac.cpp?rev=79956&r1=79955&r2=79956&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjCMac.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjCMac.cpp Mon Aug 24 18:16:37 2009
@@ -3354,13 +3354,6 @@
printf("0x%x%s", s[i], s[i] != 0 ? ", " : "");
printf("\n");
}
-// Turn off this optimization.
-#if 0
- // if ivar_layout bitmap is all 1 bits (nothing skipped) then use NULL as
- // final layout.
- if (ForStrongLayout && !BytesSkipped)
- return llvm::Constant::getNullValue(PtrTy);
-#endif
llvm::GlobalVariable * Entry =
CreateMetadataVar("\01L_OBJC_CLASS_NAME_",
llvm::ConstantArray::get(VMContext, BitMap.c_str()),
More information about the cfe-commits
mailing list