From 9c2abb8253190a0bbfd7b6880b2257966fc0484c Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Thu, 18 Aug 2011 18:51:49 -0700 Subject: [PATCH] rt: Fix the calculation of the location of GC safe points --- src/rt/rust_gc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rt/rust_gc.cpp b/src/rt/rust_gc.cpp index fee2d8b9834d..a20b8e9d4e94 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 *)data; - data += n_safe_points; + data += n_safe_points * 2; safe_points = (const safe_point *)data; } };