summaryrefslogtreecommitdiff
path: root/src/jit/lower.cpp
diff options
context:
space:
mode:
authorJUNG DONG-HEON <dheon.jung@samsung.com>2019-12-05 16:23:39 +0900
committerHyungju Lee <leee.lee@samsung.com>2020-10-30 18:15:59 +0900
commit09a47f75fc7c4e6a09f8799a7de05e9c1f9e187a (patch)
tree9f117b55c69df1f94a9edcbc2c4e4e8c34ab2a65 /src/jit/lower.cpp
parent01c100e3d02b3525cdf67ddfe080ccd9a8a07a04 (diff)
downloadcoreclr-09a47f75fc7c4e6a09f8799a7de05e9c1f9e187a.tar.gz
coreclr-09a47f75fc7c4e6a09f8799a7de05e9c1f9e187a.tar.bz2
coreclr-09a47f75fc7c4e6a09f8799a7de05e9c1f9e187a.zip
Set vtable offset as contained
- Can remove a machine instruction which adds vtable offset
Diffstat (limited to 'src/jit/lower.cpp')
-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 809f48f0f8..49b3f8cb1a 100644
--- a/src/jit/lower.cpp
+++ b/src/jit/lower.cpp
@@ -4011,6 +4011,7 @@ GenTree* Lowering::LowerVirtualVtableCall(GenTreeCall* call)
BlockRange().InsertBefore(call, std::move(range));
LIR::Range range2 = LIR::SeqTree(comp, lclvNodeStore2);
+ ContainCheckIndir(tmpTree->AsIndir());
JITDUMP("result of obtaining pointer to virtual table 2nd level indirection:\n");
DISPRANGE(range2);
BlockRange().InsertAfter(lclvNodeStore, std::move(range2));