Make llvmdc work with llvm 2.4svn revision 54614. Breaks compatibility with llvm 2.3.

This commit is contained in:
Christian Kamm
2008-08-10 21:09:23 +02:00
parent b3ce162a54
commit 8b1903c0b3
3 changed files with 8 additions and 8 deletions

View File

@@ -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;
}