projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf6aa78
)
Improve perf of DelegateConstruct (#16345)
author
Andy Ayers
<andya@microsoft.com>
Tue, 13 Feb 2018 03:31:51 +0000
(19:31 -0800)
committer
Jan Kotas
<jkotas@microsoft.com>
Tue, 13 Feb 2018 03:31:51 +0000
(19:31 -0800)
Remove a range lookup that's no longer needed.
See related issue #12438.
src/vm/comdelegate.cpp
patch
|
blob
|
history
diff --git
a/src/vm/comdelegate.cpp
b/src/vm/comdelegate.cpp
index
3f3c553
..
bd3a46c
100644
(file)
--- a/
src/vm/comdelegate.cpp
+++ b/
src/vm/comdelegate.cpp
@@
-1736,9
+1736,6
@@
FCIMPL3(void, COMDelegate::DelegateConstruct, Object* refThisUNSAFE, Object* tar
if (method == NULL)
COMPlusThrowArgumentNull(W("method"));
- void* pRetAddr = _ReturnAddress();
- MethodDesc * pCreatorMethod = ExecutionManager::GetCodeMethodDesc((PCODE)pRetAddr);
-
_ASSERTE(gc.refThis);
_ASSERTE(method);