Make this code safe for when loadRegFromStackSlot inserts multiple instructions.