Commit 9d2fd9c1 by Ben Clayton

LLVMReactor: Replace deprecated CreateCall overload

This has been removed in LLVM master. Bug: b/152339534 Change-Id: I613bae6c31944457bd52278228e33af6f85cce97 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/43810 Kokoro-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Tested-by: 's avatarBen Clayton <bclayton@google.com>
parent d3717933
...@@ -3412,7 +3412,7 @@ Value *Call(RValue<Pointer<Byte>> fptr, Type *retTy, std::initializer_list<Value ...@@ -3412,7 +3412,7 @@ Value *Call(RValue<Pointer<Byte>> fptr, Type *retTy, std::initializer_list<Value
::llvm::SmallVector<::llvm::Value *, 8> arguments; ::llvm::SmallVector<::llvm::Value *, 8> arguments;
for(auto arg : args) { arguments.push_back(V(arg)); } for(auto arg : args) { arguments.push_back(V(arg)); }
return V(jit->builder->CreateCall(funcPtr, arguments)); return V(jit->builder->CreateCall(funcTy, funcPtr, arguments));
} }
void Breakpoint() void Breakpoint()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment