Chez Scheme: remove a debugging leftover

A do-nothing loop, which was probably a debugging check at some point,
wasn't correct and could break vfasl loading.
This commit is contained in:
Matthew Flatt 2020-12-26 10:14:57 -07:00
parent 4d7f52e7dd
commit 8869f0eb9e

View File

@ -208,17 +208,6 @@ ptr S_vfasl(ptr bv, void *stream, iptr offset, iptr input_len)
VFASLHEADER_SINGLETONREF_COUNT(header) * sizeof(vfoff));
#endif
if (VSPACE_LENGTH(vspace_rtd) > 0) {
ptr rtd = TYPE(vspaces[vspace_rtd], type_typed_object);
ptr rtd_end = TYPE(VSPACE_END(vspace_rtd), type_typed_object);
while (1) {
rtd = ptr_add(rtd, size_record_type);
if (rtd == rtd_end)
break;
}
}
/* We have to convert an offset relative to the start of data in the
vfasl format to an offset relative to an individual space, at
least for target generations other than 0. Rely on the fact that