Skip to content

Commit

Permalink
Use a more exact base class for considerGuardedDevirtualization (dotn…
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorBo authored Oct 8, 2024
1 parent 445660f commit 6f4add8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/jit/importercalls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8244,7 +8244,7 @@ void Compiler::impDevirtualizeCall(GenTreeCall* call,
return;
}

considerGuardedDevirtualization(call, ilOffset, isInterface, baseMethod, baseClass, pContextHandle);
considerGuardedDevirtualization(call, ilOffset, isInterface, baseMethod, objClass, pContextHandle);
return;
}

Expand Down

0 comments on commit 6f4add8

Please sign in to comment.