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 | 1d91dd98ad68f98c5d0b79c41d3a9ffc590e35b7 (patch) | |
tree | c87d1124c899428b4ebc4715eb005b916bbbf6f9 /clang/lib/CodeGen/CGDecl.cpp | |
parent | 779dd9382d28c05f4c681216f881d9be32698df4 (diff) | |
download | bcm5719-llvm-1d91dd98ad68f98c5d0b79c41d3a9ffc590e35b7.tar.gz bcm5719-llvm-1d91dd98ad68f98c5d0b79c41d3a9ffc590e35b7.zip |
Fixup goto codegen in and around VLAs.
llvm-svn: 64014
Diffstat (limited to 'clang/lib/CodeGen/CGDecl.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDecl.cpp b/clang/lib/CodeGen/CGDecl.cpp index 73d3e2103c1..3162c2f4805 100644 --- a/clang/lib/CodeGen/CGDecl.cpp +++ b/clang/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); |