[jit] Add mini_emit_memory_load that is to be used to lower CIL memory loads.
[mono.git] / mono / tests / resolve_field_bug.2.il
index cf72957f5a52c1f2ee7527b5b023049fd4c1278b..f6d340243ab0a70d9ae7831ea25f358b6cf03a42 100644 (file)
                        stloc.1 
                        ldstr "field {0}"
                        ldloc.1 
-                       ldc.i4 0xA000001
+                       ldc.i4 0xA000001        /* Has to match FieldThatDontExist TOKEN */
                        callvirt instance class [mscorlib]System.Reflection.FieldInfo class [mscorlib]System.Reflection.Module::ResolveField(int32)
                        call void class [mscorlib]System.Console::WriteLine(string, object)
                        ldc.i4.1
                        stloc.2
                        leave END
-               } catch [mscorlib]System.ArgumentException {
+               } catch [mscorlib]System.MissingFieldException {
                        ldc.i4.0
                        stloc.2
                        leave END