summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJUNG DONG-HEON <dheon.jung@samsung.com>2019-12-05 07:23:39 (GMT)
committer이형주/Common Platform Lab(SR)/Staff Engineer/삼성전자 <leee.lee@samsung.com>2020-05-13 23:38:04 (GMT)
commitb1e0d9f446532875bc4cc42bcbfc50381b1faa00 (patch)
tree6507d5413164e1c8ec04eb9a7938d0128bdd024b /src
parentd6039664c276dcf884fd619f07c595c5b1277902 (diff)
downloadcoreclr-b1e0d9f446532875bc4cc42bcbfc50381b1faa00.zip
coreclr-b1e0d9f446532875bc4cc42bcbfc50381b1faa00.tar.gz
coreclr-b1e0d9f446532875bc4cc42bcbfc50381b1faa00.tar.bz2
Set vtable offset as contained
- Can remove a machine instruction which adds vtable offset
Diffstat (limited to 'src')
-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 809f48f..49b3f8c 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));