CGM.ErrorUnsupported(S.getLabel(),
"invalid goto to VLA scope that has finished");
- EmitBranch(getBasicBlockForLabel(S.getLabel()));
+ EmitBranchThroughCleanup(getBasicBlockForLabel(S.getLabel()));
}
void CodeGenFunction::EmitIndirectGotoStmt(const IndirectGotoStmt &S) {
} else {
StoreComplexToAddr(RV.getComplexVal(), ReturnValue, false);
}
- EmitBranch(ReturnBlock);
+ EmitBranchThroughCleanup(ReturnBlock);
}
/// EmitReturnStmt - Note that due to GCC extensions, this can have an operand
}
}
- EmitBranch(ReturnBlock);
+ EmitBranchThroughCleanup(ReturnBlock);
}
void CodeGenFunction::EmitDeclStmt(const DeclStmt &S) {
assert (0 && "break vla botch");
llvm::BasicBlock *Block = BreakContinueStack.back().BreakBlock;
- EmitBranch(Block);
+ EmitBranchThroughCleanup(Block);
}
void CodeGenFunction::EmitContinueStmt(const ContinueStmt &S) {
assert (0 && "continue vla botch");
llvm::BasicBlock *Block = BreakContinueStack.back().ContinueBlock;
- EmitBranch(Block);
+ EmitBranchThroughCleanup(Block);
}
/// EmitCaseStmtRange - If case statement range is not too big then