Fixup goto codegen in and around VLAs.

llvm-svn: 64014
This commit is contained in:
Mike Stump
2009-02-07 12:52:26 +00:00
parent 779dd9382d
commit 1d91dd98ad
5 changed files with 100 additions and 28 deletions

View File

@@ -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);
}