[llvm] r271189 - [Orc] Fix a type in the OrcRemoteClientUtility.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Sun May 29 14:17:15 PDT 2016


Author: lhames
Date: Sun May 29 16:17:13 2016
New Revision: 271189

URL: http://llvm.org/viewvc/llvm-project?rev=271189&view=rev
Log:
[Orc] Fix a type in the OrcRemoteClientUtility.

This function failed to type-check as it was. No test case yet (we only have
regression tests for the remote-JIT code, and LLI don't use this function), but
an upcoming chapter of the Kaleidoscope Building A JIT tutorials will use
this.

Modified:
    llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h

Modified: llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h?rev=271189&r1=271188&r2=271189&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h (original)
+++ llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h Sun May 29 16:17:13 2016
@@ -625,7 +625,7 @@ public:
     DEBUG(dbgs() << "Calling void(*)(void) " << format("0x%016x", Addr)
                  << "\n");
 
-    auto Listen = [&](RPCChannel &C, JITFuncId Id) {
+    auto Listen = [&](RPCChannel &C, uint32_t Id) {
       return listenForCompileRequests(C, Id);
     };
     return callSTHandling<CallVoidVoid>(Channel, Listen, Addr);




More information about the llvm-commits mailing list