summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Danes <onemihaid@hotmail.com>2018-05-10 18:47:51 +0300
committerMike Danes <onemihaid@hotmail.com>2018-05-10 18:47:51 +0300
commitbc72f7214e121db879f26f39fbf4f8a4561486c0 (patch)
treee8dff74345c01c284cac2c89f10b0b4e8d70809c
parent1ecd2be3cebc4b791d559d162228aa1ddf388564 (diff)
downloadcoreclr-bc72f7214e121db879f26f39fbf4f8a4561486c0.tar.gz
coreclr-bc72f7214e121db879f26f39fbf4f8a4561486c0.tar.bz2
coreclr-bc72f7214e121db879f26f39fbf4f8a4561486c0.zip
Call ContainCheckIndir on the newly created indir
-rw-r--r--src/jit/lower.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jit/lower.cpp b/src/jit/lower.cpp
index 928a4e76fd..ae207f0c9c 100644
--- a/src/jit/lower.cpp
+++ b/src/jit/lower.cpp
@@ -3265,6 +3265,7 @@ GenTree* Lowering::LowerDelegateInvoke(GenTreeCall* call)
BlockRange().InsertAfter(thisExpr, newThisAddr, newThis);
thisArgNode->gtOp.gtOp1 = newThis;
+ ContainCheckIndir(newThis->AsIndir());
// the control target is
// [originalThis + firstTgtOffs]