Commit 39ad112
authored
Fix access flags passed to getFieldInfo in interpreter (#122009)
The interpreter compiler incorrectly passes CORINFO_ACCESS_GET to the
getFieldInfo for CEE_STSFLD and CEE_STFLD opcodes. That causes failure
in one of the libraries tests that initializes
BitConverter.IsLittleEndian field.
This change puts in the correct CORINFO_ACCESS_SET flag.1 parent 7da7284 commit 39ad112
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7803 | 7803 | | |
7804 | 7804 | | |
7805 | 7805 | | |
7806 | | - | |
| 7806 | + | |
7807 | 7807 | | |
7808 | 7808 | | |
7809 | 7809 | | |
| |||
7882 | 7882 | | |
7883 | 7883 | | |
7884 | 7884 | | |
7885 | | - | |
| 7885 | + | |
7886 | 7886 | | |
7887 | 7887 | | |
7888 | 7888 | | |
| |||
0 commit comments