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:
185a23e
)
Remove a redundant recursive call to `gtSetEvalOrder`.
author
Pat Gavlin
<pagavlin@microsoft.com>
Thu, 26 May 2016 23:03:34 +0000
(16:03 -0700)
committer
Pat Gavlin
<pagavlin@microsoft.com>
Thu, 26 May 2016 23:03:34 +0000
(16:03 -0700)
src/jit/gentree.cpp
patch
|
blob
|
history
diff --git
a/src/jit/gentree.cpp
b/src/jit/gentree.cpp
index
7a5e551
..
73aaffd
100644
(file)
--- a/
src/jit/gentree.cpp
+++ b/
src/jit/gentree.cpp
@@
-3333,8
+3333,6
@@
COMMON_CNS:
case GT_MKREFANY:
case GT_OBJ:
- level = gtSetEvalOrder(tree->gtOp.gtOp1);
- ftreg |= tree->gtOp.gtOp1->gtRsvdRegs;
// We estimate the cost of a GT_OBJ or GT_MKREFANY to be two loads (GT_INDs)
costEx = 2*IND_COST_EX;
costSz = 2*2;