[macruby-changes] [3963] MacRuby/trunk/range.c
source_changes at macosforge.org
source_changes at macosforge.org
Mon Apr 26 18:01:18 PDT 2010
Revision: 3963
http://trac.macosforge.org/projects/ruby/changeset/3963
Author: lsansonetti at apple.com
Date: 2010-04-26 18:01:13 -0700 (Mon, 26 Apr 2010)
Log Message:
-----------
added missing write barriers
Modified Paths:
--------------
MacRuby/trunk/range.c
Modified: MacRuby/trunk/range.c
===================================================================
--- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100426/59f9f942/attachment.html>
More information about the macruby-changes
mailing list