Revision
3963
Author
lsansonetti@apple.com
Date
2010-04-26 18:01:13 -0700 (Mon, 26 Apr 2010)

Log Message

added missing write barriers

Modified Paths

Diff

Modified: MacRuby/trunk/range.c (3962 => 3963)


--- MacRuby/trunk/range.c	2010-04-26 03:32:23 UTC (rev 3962)
+++ MacRuby/trunk/range.c	2010-04-27 01:01:13 UTC (rev 3963)
@@ -57,8 +57,8 @@
     }
 
     SET_EXCL(range, exclude_end);
-    RSTRUCT(range)->as.ary[0] = beg;
-    RSTRUCT(range)->as.ary[1] = end;
+    GC_WB(&RANGE_BEG(range), beg);
+    GC_WB(&RANGE_END(range), end);
 }
 
 VALUE