commit | 88ad911d8f5c9ef06ca2d26f6820e6af9e796a9c | [log] [tgz] |
---|---|---|
author | Mike Stump <mrs@apple.com> | Sat Feb 07 12:52:26 2009 +0000 |
committer | Mike Stump <mrs@apple.com> | Sat Feb 07 12:52:26 2009 +0000 |
tree | 8c26b9f5bf9120bb8ffd77871bc3a24c6554f7f1 | |
parent | cee653e546bf8186a5012331c2d74df432715b2f [diff] [blame] |
Fixup goto codegen in and around VLAs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64014 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CGDecl.cpp b/lib/CodeGen/CGDecl.cpp index 73d3e21..3162c2f 100644 --- a/lib/CodeGen/CGDecl.cpp +++ b/lib/CodeGen/CGDecl.cpp
@@ -188,7 +188,7 @@ Builder.CreateStore(V, Stack); - StackSaveValues.back() = Stack; + StackSaveValues.back() = StackDepth = Stack; } // Get the element type. const llvm::Type *LElemTy = ConvertType(Ty);