We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d6a153 commit f6370abCopy full SHA for f6370ab
llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp
@@ -1024,9 +1024,8 @@ LLVMErrorRef LLVMOrcCreateObjectLinkingLayerWithInProcessMemoryManager(
1024
assert(Result && "Result must not be null");
1025
assert(ES && "ES must not be null");
1026
auto MM = jitlink::InProcessMemoryManager::Create();
1027
- if (!MM) {
+ if (!MM)
1028
return wrap(MM.takeError());
1029
- }
1030
*Result = wrap(new ObjectLinkingLayer(*unwrap(ES), std::move(*MM)));
1031
return LLVMErrorSuccess;
1032
}
0 commit comments