diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-11-29 21:23:36 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-11-29 21:23:36 +0000 |
commit | 2da84ff228a231adbd3f6f236b857f752d02959a (patch) | |
tree | bf12799091be8052ab402d1b130892b2fce4b30c /lib/CodeGen/CGDecl.cpp | |
parent | 007b56738b00426688ee85baa75174358bd849f9 (diff) |
Don't pass false (default) for isVolatile parameter to CreateLoad.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90098 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 a3d38bce4a..c047283092 100644 --- a/lib/CodeGen/CGDecl.cpp +++ b/lib/CodeGen/CGDecl.cpp @@ -568,7 +568,7 @@ void CodeGenFunction::EmitLocalBlockVarDecl(const VarDecl &D) { if (needsDispose && CGM.getLangOptions().getGCMode() != LangOptions::GCOnly) { DelayedCleanupBlock scope(*this); llvm::Value *V = Builder.CreateStructGEP(DeclPtr, 1, "forwarding"); - V = Builder.CreateLoad(V, false); + V = Builder.CreateLoad(V); BuildBlockRelease(V); } } |