mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-23 02:27:39 +03:00
rt: Fix the calculation of the location of GC safe points
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user