Skip to content

Commit 1da60a6

Browse files
Update CppInterOp.cpp
1 parent ba929e7 commit 1da60a6

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
@@ -1108,9 +1108,8 @@ namespace Cpp {
11081108
auto FDAorErr = compat::getSymbolAddress(I, mangled_name);
11091109
if (llvm::Error Err = FDAorErr.takeError())
11101110
llvm::consumeError(std::move(Err)); // nullptr if missing
1111-
else {
1111+
else
11121112
return llvm::jitTargetAddressToPointer<void*>(*FDAorErr);
1113-
}
11141113
return nullptr;
11151114
}
11161115

0 commit comments

Comments
 (0)