diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2011-08-18 18:51:49 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2011-08-18 18:51:49 -0700 |
| commit | 9c2abb8253190a0bbfd7b6880b2257966fc0484c (patch) | |
| tree | 123bea0f4786adefc5bf1aca0cc32fb48c4fb295 /src/rt/rust_gc.cpp | |
| parent | 955bef3f4d7631a9183ed75e19c7b5830a29cadb (diff) | |
| download | rust-9c2abb8253190a0bbfd7b6880b2257966fc0484c.tar.gz rust-9c2abb8253190a0bbfd7b6880b2257966fc0484c.zip | |
rt: Fix the calculation of the location of GC safe points
Diffstat (limited to 'src/rt/rust_gc.cpp')
| -rw-r--r-- | src/rt/rust_gc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_gc.cpp b/src/rt/rust_gc.cpp index fee2d8b9834..a20b8e9d4e9 100644 --- a/src/rt/rust_gc.cpp +++ b/src/rt/rust_gc.cpp @@ -41,7 +41,7 @@ public: #endif n_safe_points = *data++; index = (const std::pair<void *,const safe_point *> *)data; - data += n_safe_points; + data += n_safe_points * 2; safe_points = (const safe_point *)data; } }; |
