diff options
author | Mike Stump <mrs@apple.com> | 2009-02-07 12:52:26 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-02-07 12:52:26 +0000 |
commit | 36a2ada69fdb457b0e46d0ef452c150b360d8888 (patch) | |
tree | 8c26b9f5bf9120bb8ffd77871bc3a24c6554f7f1 /lib/CodeGen/CGDecl.cpp | |
parent | 3268825a8e7f68520806e01bf306b21e747dd645 (diff) |
Fixup goto codegen in and around VLAs.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64014 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 73d3e2103c..3162c2f480 100644 --- a/lib/CodeGen/CGDecl.cpp +++ b/lib/CodeGen/CGDecl.cpp @@ -188,7 +188,7 @@ void CodeGenFunction::EmitLocalBlockVarDecl(const VarDecl &D) { Builder.CreateStore(V, Stack); - StackSaveValues.back() = Stack; + StackSaveValues.back() = StackDepth = Stack; } // Get the element type. const llvm::Type *LElemTy = ConvertType(Ty); |