diff --git a/stmt.cpp b/stmt.cpp index 079919b2..783d0a5d 100644 --- a/stmt.cpp +++ b/stmt.cpp @@ -2046,9 +2046,6 @@ LabeledStmt::EstimateCost() const { void StmtList::EmitCode(FunctionEmitContext *ctx) const { - if (!ctx->GetCurrentBasicBlock()) - return; - ctx->StartScope(); ctx->SetDebugPos(pos); for (unsigned int i = 0; i < stmts.size(); ++i)