From: Fariborz Jahanian Date: Fri, 24 Apr 2009 17:15:27 +0000 (+0000) Subject: Minor refactoring. No change in functionality. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8c2f2d1849247ebf7b2c0dbf1ebba15fe163664b;p=clang Minor refactoring. No change in functionality. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69979 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGObjCMac.cpp b/lib/CodeGen/CGObjCMac.cpp index 6caaad6ffe..7bcb82b6cb 100644 --- a/lib/CodeGen/CGObjCMac.cpp +++ b/lib/CodeGen/CGObjCMac.cpp @@ -729,7 +729,6 @@ protected: // gc ivar layout bitmap calculation helper caches. llvm::SmallVector SkipIvars; llvm::SmallVector IvarsInfo; - llvm::SmallVector SkipScanIvars; /// LazySymbols - Symbols to generate a lazy reference for. See /// DefinedSymbols and FinishModule(). @@ -3156,7 +3155,7 @@ llvm::Constant *CGObjCCommonMac::BuildIvarLayout( std::sort(SkipIvars.begin(), SkipIvars.end()); // Build the string of skip/scan nibbles - SkipScanIvars.clear(); + llvm::SmallVector SkipScanIvars; unsigned int WordSize = CGM.getTypes().getTargetData().getTypePaddedSize(PtrTy); if (IvarsInfo[0].ivar_bytepos == 0) {