Verified Commit 65f43b78 authored by Camil Staps's avatar Camil Staps
Browse files

Fix copy_from_string for unboxed arrays of records on systems with USE_DESC_RELATIVE_TO_ARRAY

The corresponding change in copy_string_to_graph was made in 41ebb64d.
parent 7fbaaee9
......@@ -106,6 +106,11 @@ void remove_forwarding_pointers_from_string (Int *string_p,Int *end_forwarding_p
elem_desc=string_p[2];
string_p+=3;
#if defined (USE_DESC_RELATIVE_TO_ARRAY)
if (elem_desc!=0)
elem_desc+=(Int)&__ARRAY__;
#endif
if (elem_desc==0){
} else if (elem_desc==(Int)&INT+2
#if ARCH_64
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment