Use Assert() rather than assert()

This commit is contained in:
Matt Pharr
2012-01-08 13:30:45 -08:00
parent 5b4dbc8167
commit ff6971fb15
5 changed files with 5 additions and 6 deletions

View File

@@ -1989,7 +1989,7 @@ LabeledStmt::LabeledStmt(const char *n, Stmt *s, SourcePos p)
void
LabeledStmt::EmitCode(FunctionEmitContext *ctx) const {
llvm::BasicBlock *bblock = ctx->GetLabeledBasicBlock(name);
assert(bblock != NULL);
Assert(bblock != NULL);
// End the current basic block with a jump to our basic block and then
// set things up for emission to continue there. Note that the current