diff options
author | Lang Hames <lhames@gmail.com> | 2021-10-10 12:56:37 -0700 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2021-10-10 13:10:43 -0700 |
commit | da7f993a8d615c7306d3576f9669eb4d0a4b65f4 (patch) | |
tree | c817ae462dd2a6934e80e313a4b7520b562a6e21 /llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp | |
parent | a42d5c34d0053f9f241cc0231edb4f4d34c7b4da (diff) | |
download | llvm-da7f993a8d615c7306d3576f9669eb4d0a4b65f4.zip llvm-da7f993a8d615c7306d3576f9669eb4d0a4b65f4.tar.gz llvm-da7f993a8d615c7306d3576f9669eb4d0a4b65f4.tar.bz2 |
[ORC] Reorder callWrapperAsync and callSPSWrapperAsync parameters.
The callee address is now the first parameter and the 'SendResult' function
the second. This change improves consistentency with the non-async functions
where the callee is the first address and the return value the second.
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp')
-rw-r--r-- | llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp b/llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp index 2262afe..dd57fbd 100644 --- a/llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp +++ b/llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp @@ -109,8 +109,8 @@ SelfExecutorProcessControl::runAsMain(ExecutorAddr MainFnAddr, return orc::runAsMain(MainFnAddr.toPtr<MainTy>(), Args); } -void SelfExecutorProcessControl::callWrapperAsync(SendResultFunction SendResult, - ExecutorAddr WrapperFnAddr, +void SelfExecutorProcessControl::callWrapperAsync(ExecutorAddr WrapperFnAddr, + SendResultFunction SendResult, ArrayRef<char> ArgBuffer) { using WrapperFnTy = shared::detail::CWrapperFunctionResult (*)(const char *Data, size_t Size); |