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:
e815efc
)
Replace VNForPtrSizeIntCon(addrValue) with VNForHandle(addrValue, GTF_ICON_FTN_ADDR...
author
Egor Chesakov
<Egor.Chesakov@microsoft.com>
Tue, 4 Sep 2018 18:04:58 +0000
(11:04 -0700)
committer
Egor Chesakov
<Egor.Chesakov@microsoft.com>
Tue, 4 Sep 2018 21:41:13 +0000
(14:41 -0700)
src/jit/valuenum.cpp
patch
|
blob
|
history
diff --git
a/src/jit/valuenum.cpp
b/src/jit/valuenum.cpp
index
8c4f436
..
e9a940d
100644
(file)
--- a/
src/jit/valuenum.cpp
+++ b/
src/jit/valuenum.cpp
@@
-7691,7
+7691,8
@@
void Compiler::fgValueNumberHelperCallFunc(GenTreeCall* call, VNFunc vnf, ValueN
#ifdef FEATURE_READYTORUN_COMPILER
if (useEntryPointAddrAsArg0)
{
- ValueNum callAddrVN = vnStore->VNForPtrSizeIntCon((ssize_t)call->gtCall.gtEntryPoint.addr);
+ ssize_t addrValue = (ssize_t)call->gtEntryPoint.addr;
+ ValueNum callAddrVN = vnStore->VNForHandle(addrValue, GTF_ICON_FTN_ADDR);
vnp0 = ValueNumPair(callAddrVN, callAddrVN);
}
else