summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-02-07 12:52:26 +0000
committerMike Stump <mrs@apple.com>2009-02-07 12:52:26 +0000
commit1d91dd98ad68f98c5d0b79c41d3a9ffc590e35b7 (patch)
treec87d1124c899428b4ebc4715eb005b916bbbf6f9 /clang/lib/CodeGen/CodeGenFunction.cpp
parent779dd9382d28c05f4c681216f881d9be32698df4 (diff)
downloadbcm5719-llvm-1d91dd98ad68f98c5d0b79c41d3a9ffc590e35b7.tar.gz
bcm5719-llvm-1d91dd98ad68f98c5d0b79c41d3a9ffc590e35b7.zip
Fixup goto codegen in and around VLAs.
llvm-svn: 64014
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp
index 2b365c9ccab..f5a802f0b74 100644
--- a/clang/lib/CodeGen/CodeGenFunction.cpp
+++ b/clang/lib/CodeGen/CodeGenFunction.cpp
@@ -24,7 +24,7 @@ using namespace CodeGen;
CodeGenFunction::CodeGenFunction(CodeGenModule &cgm)
: CGM(cgm), Target(CGM.getContext().Target), SwitchInsn(NULL),
- CaseRangeBlock(NULL) {
+ CaseRangeBlock(NULL), StackDepth(0) {
LLVMIntTy = ConvertType(getContext().IntTy);
LLVMPointerWidth = Target.getPointerWidth(0);
}
OpenPOWER on IntegriCloud