Skip to content

Commit 04344f9

Browse files
Update CppInterOp.cpp
1 parent 0c80d93 commit 04344f9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/Interpreter/CppInterOp.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1077,9 +1077,8 @@ namespace Cpp {
10771077
auto FDAorErr = compat::getSymbolAddress(I, mangled_name);
10781078
if (llvm::Error Err = FDAorErr.takeError())
10791079
llvm::consumeError(std::move(Err)); // nullptr if missing
1080-
else {
1080+
else
10811081
return llvm::jitTargetAddressToPointer<void*>(*FDAorErr);
1082-
}
10831082
return nullptr;
10841083
}
10851084

0 commit comments

Comments
 (0)