Project

General

Profile

« Previous | Next » 

Revision f2ae5811

Added by jemmai (Jemma Issroff) about 3 years ago

In init_copy, set shape after copying ivars

GC uses shapes to determine IV buffer width. Since allocation can
trigger GC, we need to ensure we only set the shape once we've fully
allocated new memory for the IV buffer, otherwise the GC can end up
trying to mark invalid memory.