diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-22 00:32:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-22 00:32:22 +0000 |
commit | 3403084886b3d0fc23eee2b5708f0ac0329423e0 (patch) | |
tree | 5365adb28ee4395cb60d7e56c4f23d2bd0a4ffb1 /lib/CodeGen/CGDecl.cpp | |
parent | f1466848dce9c4c75d96a6cabdc8db560e26aac8 (diff) |
don't set the name of a call instruction to "call" in release-asserts
build. This shaves another 3% off.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67460 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDecl.cpp')
-rw-r--r-- | lib/CodeGen/CGDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGDecl.cpp b/lib/CodeGen/CGDecl.cpp index 49ac20a9bc..acf16561cc 100644 --- a/lib/CodeGen/CGDecl.cpp +++ b/lib/CodeGen/CGDecl.cpp @@ -237,7 +237,7 @@ void CodeGenFunction::EmitLocalBlockVarDecl(const VarDecl &D) { if (isByRef) Alloc->setAlignment(std::max(getContext().getDeclAlignInBytes(&D), - getContext().getTypeAlign(getContext().VoidPtrTy) / 8)); + unsigned(Target.getPointerAlign(0) / 8))); else Alloc->setAlignment(getContext().getDeclAlignInBytes(&D)); DeclPtr = Alloc; |