projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3424aa7
)
Simplify devirtualization in crossgen2 (#45744)
author
Jan Kotas
<jkotas@microsoft.com>
Tue, 8 Dec 2020 20:16:36 +0000
(12:16 -0800)
committer
GitHub
<noreply@github.com>
Tue, 8 Dec 2020 20:16:36 +0000
(12:16 -0800)
src/coreclr/tools/Common/JitInterface/CorInfoImpl.cs
patch
|
blob
|
history
diff --git
a/src/coreclr/tools/Common/JitInterface/CorInfoImpl.cs
b/src/coreclr/tools/Common/JitInterface/CorInfoImpl.cs
index
4433a9b
..
b310794
100644
(file)
--- a/
src/coreclr/tools/Common/JitInterface/CorInfoImpl.cs
+++ b/
src/coreclr/tools/Common/JitInterface/CorInfoImpl.cs
@@
-984,11
+984,9
@@
namespace Internal.JitInterface
impl = getUnboxingThunk(impl);
}
- MethodDesc exactImpl = TypeSystemHelpers.FindMethodOnTypeWithMatchingTypicalMethod(objType, impl);
-
info->devirtualizedMethod = ObjectToHandle(impl);
info->requiresInstMethodTableArg = false;
- info->exactContext = contextFromType(
exactI
mpl.OwningType);
+ info->exactContext = contextFromType(
i
mpl.OwningType);
return true;
}