getNullValue is in Constant again

Requires LLVM >= r77721
This commit is contained in:
Benjamin Kramer
2009-07-31 23:01:29 +02:00
parent 0a1d467ac7
commit 4c5457ba61
13 changed files with 35 additions and 35 deletions

View File

@@ -811,7 +811,7 @@ void DtoDefineFunction(FuncDeclaration* fd)
}
}
else
llvm::ReturnInst::Create(gIR->context().getNullValue(func->getReturnType()), bb);
llvm::ReturnInst::Create(LLConstant::getNullValue(func->getReturnType()), bb);
}
// std::cout << *func << std::endl;