Non virtual calls to instance methods non-virtual dispatch on instance interface...
authorDavid Wrighton <davidwr@microsoft.com>
Fri, 22 Nov 2019 21:26:57 +0000 (13:26 -0800)
committerGitHub <noreply@github.com>
Fri, 22 Nov 2019 21:26:57 +0000 (13:26 -0800)
commit016d9d67a7be81c68c6d870b7e7de31c4b4fb468
tree79d697864f14f4744c5730c47da9a5828c5e0f3b
parentff9dd56434c8b1a26f883d7994cff7c1de6a4798
Non virtual calls to instance methods non-virtual dispatch on instance interface methods (#27756) (#27868)

* est for non_virtual_calls_to_instance_methods
* Fix handling of callvirt to instance methods on interface types that are not virtual
- Use call type to indicate if its non-virtual or not, instead of opcode
* Use ilproj to protect against future C# compiler changes
- This test needs to test the use of specific opcodes, and so an IL proj is required
src/vm/jitinterface.cpp
tests/src/Loader/classloader/DefaultInterfaceMethods/sharedgenerics/non_virtual_calls_to_instance_methods.cs [new file with mode: 0644]
tests/src/Loader/classloader/DefaultInterfaceMethods/sharedgenerics/non_virtual_calls_to_instance_methods.il [new file with mode: 0644]
tests/src/Loader/classloader/DefaultInterfaceMethods/sharedgenerics/non_virtual_calls_to_instance_methods.ilproj [new file with mode: 0644]