diff options
author | Ludovic Henry <ludovic@xamarin.com> | 2016-05-05 23:34:46 +0300 |
---|---|---|
committer | Ludovic Henry <ludovic@xamarin.com> | 2016-05-05 23:37:26 +0300 |
commit | 71b88f3e54d776c66a8b68c0af2db670138ea675 (patch) | |
tree | b64e86cdd6f7baff983abb595d5ec79fc89391f3 | |
parent | 6ed1bf0a6f473a1b64cac215f532c9b3c1aad9e3 (diff) |
[mini] Fix build breakage introduced with 6ed1bf0a6f473a1b64cac215f532c9b3c1aad9e3mono-4.2.4.4mono-4.2.0-branch-c6sr4
-rw-r--r-- | mono/mini/method-to-ir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mono/mini/method-to-ir.c b/mono/mini/method-to-ir.c index 58695996b9a..a44c4ba0cce 100644 --- a/mono/mini/method-to-ir.c +++ b/mono/mini/method-to-ir.c @@ -10969,7 +10969,7 @@ mono_method_to_ir (MonoCompile *cfg, MonoMethod *method, MonoBasicBlock *start_b store->flags |= MONO_INST_FAULT; if (cfg->gen_write_barriers && mini_type_to_stind (cfg, field->type) == CEE_STIND_REF && !(sp [1]->opcode == OP_PCONST && sp [1]->inst_c0 == 0)) { - if (mini_is_gsharedvt_klass (klass)) { + if (mini_is_gsharedvt_klass (cfg, klass)) { g_assert (wbarrier_ptr_ins); emit_write_barrier (cfg, wbarrier_ptr_ins, sp [1]); } else { |