llvm.org GIT mirror llvm / df11b54
BrainF.cpp: Update CreateCall() according to r237624. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237669 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 4 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
200200 case SYM_READ:
201201 {
202202 //%tape.%d = call i32 @getchar()
203 CallInst *getchar_call = builder->CreateCall(getchar_func, tapereg);
203 CallInst *getchar_call =
204 builder->CreateCall(getchar_func, {}, tapereg);
204205 getchar_call->setTailCall(false);
205206 Value *tape_0 = getchar_call;
206207