diff options
author | JUNG DONG-HEON <dheon.jung@samsung.com> | 2019-12-05 16:23:39 +0900 |
---|---|---|
committer | 이형주/Common Platform Lab(SR)/Staff Engineer/삼성전자 <leee.lee@samsung.com> | 2020-05-14 08:38:04 +0900 |
commit | b1e0d9f446532875bc4cc42bcbfc50381b1faa00 (patch) | |
tree | 6507d5413164e1c8ec04eb9a7938d0128bdd024b | |
parent | d6039664c276dcf884fd619f07c595c5b1277902 (diff) | |
download | coreclr-b1e0d9f446532875bc4cc42bcbfc50381b1faa00.tar.gz coreclr-b1e0d9f446532875bc4cc42bcbfc50381b1faa00.tar.bz2 coreclr-b1e0d9f446532875bc4cc42bcbfc50381b1faa00.zip |
Set vtable offset as contained
- Can remove a machine instruction which adds vtable offset
-rw-r--r-- | src/jit/lower.cpp | 1 |
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)); |