Skip to content

Commit 50be35a

Browse files
Shared generics opcodes (#116990)
Implement the vast majority of the opcodes that are affected by shared generics box, unbox, unbox.any, castclass, isinst, ldtoken, newarr, newobj of an mdarray Add logic to enhance pretty printing of the Interp opcodes for these things. We can now see strings, and various magic pointer values get displayed in the disasm outputs. Handle the 0 indirections generic lookup scenario Many opcodes were able to use a set of generic helpercall opcodes. These opcodes have a naming convention of a stands for addr of dvar or svar g stands for do a generic lookup p stands for pointer (acquired from either an svar or a dataitem) v stands for a void return. Its not fully descriptive, but naming is hard, and this works.
1 parent 1c0d352 commit 50be35a

17 files changed

+1420
-291
lines changed

src/coreclr/interpreter/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ set(INTERPRETER_SOURCES
1313
naming.cpp
1414
methodset.cpp
1515
../../native/containers/dn-simdhash.c
16+
../../native/containers/dn-simdhash-ght-compatible.c
1617
../../native/containers/dn-simdhash-ptr-ptr.c)
1718

1819
set(INTERPRETER_LINK_LIBRARIES

0 commit comments

Comments
 (0)