[interp] set correct stack type on op_Implicit/op_Explicit intrinsics for native...
commitb564c26cb52ca195970d088af46041d5a6db7615
authorBernhard Urban <lewurm@gmail.com>
Thu, 23 May 2019 16:56:16 +0000 (23 09:56 -0700)
committermonojenkins <jo.shields+jenkins@xamarin.com>
Thu, 23 May 2019 16:56:16 +0000 (23 12:56 -0400)
treece1d9dea08cce0d6bd5c5b1347972b10640e3067
parent72eb2ee84a4f397c5887159e288894778ea316a9
[interp] set correct stack type on op_Implicit/op_Explicit intrinsics for native types (#14575)

[interp] set correct stack type on op_Implicit/op_Explicit intrinsics for native types

Needs some additional conversions which happen to be included by accident previously.

This fixes those warnings on amd64:
```
Test run:
image=/Users/lewurm/work/mono-dim-call/mono/mini/builtin-types.exe
BuiltinTests.test_0_nuint_fieldload: Store local stack type mismatch 0 1
BuiltinTests.test_0_much_casting: Store local stack type mismatch 0 1
Results: total tests: 84, all pass
Elapsed time: 0.026546 secs (0.026546, 0.000000)
```

and those warnings on armv7:
```
Test run: image=/mono/mono/mini/builtin-types.exe
BuiltinTests.test_0_nint_inc: 0011 arith type mismatch add.i4 0 1
BuiltinTests.test_0_nint_dec: 0011 arith type mismatch sub.i4 0 1
BuiltinTests.test_0_nint_implicit_decimal: 0034 arith type mismatch
add.i4 0 1
BuiltinTests.test_0_nuint_inc: 0011 arith type mismatch add.i4 0 1
BuiltinTests.test_0_nuint_dec: 0011 arith type mismatch sub.i4 0 1
BuiltinTests.test_0_nuint_implicit_decimal: 0034 arith type mismatch
add.i4 0 1
Results: total tests: 84, all pass
Elapsed time: 0.039214 secs (0.039214, 0.000000)
```
mono/mini/interp/transform.c