projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34a3e96
)
Fix a warning.
author
Zoltan Varga
<vargaz@gmail.com>
Wed, 25 Aug 2010 15:22:18 +0000
(17:22 +0200)
committer
Zoltan Varga
<vargaz@gmail.com>
Wed, 25 Aug 2010 15:22:18 +0000
(17:22 +0200)
mono/mini/method-to-ir.c
patch
|
blob
|
history
diff --git
a/mono/mini/method-to-ir.c
b/mono/mini/method-to-ir.c
index c402d1fb5815edde8ace888c0e2dc5970529e31c..8faab0bb3ae3e52f75a767ada525ed74b2fbf120 100644
(file)
--- a/
mono/mini/method-to-ir.c
+++ b/
mono/mini/method-to-ir.c
@@
-2596,7
+2596,6
@@
emit_write_barrier (MonoCompile *cfg, MonoInst *ptr, MonoInst *value, int value_
#ifdef HAVE_SGEN_GC
int card_table_shift_bits;
guint8 *card_table = mono_gc_get_card_table (&card_table_shift_bits);
- gboolean need_dummy_use = TRUE;
MonoInst *dummy_use;
#ifdef MONO_ARCH_HAVE_CARD_TABLE_WBARRIER
@@
-2615,8
+2614,6
@@
emit_write_barrier (MonoCompile *cfg, MonoInst *ptr, MonoInst *value, int value_
else
wbarrier->sreg2 = value_reg;
MONO_ADD_INS (cfg->cbb, wbarrier);
-
- need_dummy_use = FALSE;
}
#else
if (card_table) {