mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-26 08:33:14 +01:00
Make llvmdc work with llvm 2.4svn revision 54614. Breaks compatibility with llvm 2.3.
This commit is contained in:
@@ -162,9 +162,9 @@ CallOrInvoke* IRState::CreateCallOrInvoke4(LLValue* Callee, LLValue* Arg1, LLVal
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
IRBuilder* IRBuilderHelper::operator->()
|
||||
IRBuilder<>* IRBuilderHelper::operator->()
|
||||
{
|
||||
IRBuilder& b = state->scope().builder;
|
||||
IRBuilder<>& b = state->scope().builder;
|
||||
assert(b.GetInsertBlock() != NULL);
|
||||
return &b;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user