smartcaveman / runsharp-google-export

Automatically exported from code.google.com/p/runsharp
MIT License
0 stars 0 forks source link

Instance calls in valuetype #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I've tried to generate calls to methods of value type.

What I've seen is it was not emitting "Constrained" before "Callvirt" for 
instance value type methods. I've fixed it to use "Call" in this case.

Another solution is fixing condition of emitting "Constrained" but "Callvirt" 
is not needed to be emitted for value types (exclusion for base type virtual 
methods).

Vlad
vbcoding@ukr.net

Original issue reported on code.google.com by vlad.v...@gmail.com on 30 Nov 2012 at 4:52

Attachments: