Skip to content

Commit 3b12f07

Browse files
lhamesNoumanAmir657
authored andcommitted
[ORC] Single-symbol convenience method does not need to be virtual.
This convenience method just calls the general case which is already virtual.
1 parent 959927a commit 3b12f07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/include/llvm/ExecutionEngine/Orc/RedirectionManager.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ class RedirectionManager {
3232

3333
/// Change the redirection destination of given symbol to new destination
3434
/// symbol.
35-
virtual Error redirect(JITDylib &JD, SymbolStringPtr Symbol,
36-
ExecutorSymbolDef NewDest) {
35+
Error redirect(JITDylib &JD, SymbolStringPtr Symbol,
36+
ExecutorSymbolDef NewDest) {
3737
return redirect(JD, {{Symbol, NewDest}});
3838
}
3939

0 commit comments

Comments
 (0)