mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
BrainF.cpp: Update CreateCall() according to r237624.
llvm-svn: 237669
This commit is contained in:
parent
113a9e0d99
commit
455bd31522
@ -201,7 +201,8 @@ void BrainF::readloop(PHINode *phi, BasicBlock *oldbb, BasicBlock *testbb,
|
||||
case SYM_READ:
|
||||
{
|
||||
//%tape.%d = call i32 @getchar()
|
||||
CallInst *getchar_call = builder->CreateCall(getchar_func, tapereg);
|
||||
CallInst *getchar_call =
|
||||
builder->CreateCall(getchar_func, {}, tapereg);
|
||||
getchar_call->setTailCall(false);
|
||||
Value *tape_0 = getchar_call;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user