rt: Fix the calculation of the location of GC safe points

This commit is contained in:
Patrick Walton 2011-08-18 18:51:49 -07:00
parent 955bef3f4d
commit 9c2abb8253

View File

@ -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;
}
};