commit | 36a2ada69fdb457b0e46d0ef452c150b360d8888 | [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 | 3268825a8e7f68520806e01bf306b21e747dd645 [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);