mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-26 08:33:14 +01:00
LLVMContext changes up to r77366
This commit is contained in:
@@ -769,7 +769,7 @@ void AsmBlockStatement::toIR(IRState* p)
|
||||
for(it = gotoToVal.begin(); it != end; ++it)
|
||||
{
|
||||
llvm::BasicBlock* casebb = llvm::BasicBlock::Create("case", p->topfunc(), bb);
|
||||
sw->addCase(gIR->context().getConstantInt(llvm::IntegerType::get(32), it->second), casebb);
|
||||
sw->addCase(LLConstantInt::get(llvm::IntegerType::get(32), it->second), casebb);
|
||||
|
||||
p->scope() = IRScope(casebb,bb);
|
||||
DtoGoto(loc, it->first, enclosingFinally);
|
||||
|
||||
Reference in New Issue
Block a user