cpsc411 / cpsc411-book

The WIP book for CPSC 411
Other
59 stars 7 forks source link

frame allocation edge case #103

Open wilbowma opened 2 years ago

wilbowma commented 2 years ago

When some abstract locations have been assigned frame locations, we can end up with e.g.

(assignment ((z.1 fv0) (y.1 fv0) (x.1 fv1))))

(where all z.1 y.1 and x.1 are call-undead).

This frame should only have size 2, since two locations already share a slot, but the book can be read as saying it should be size 3.

Need to clarify this. Something about semantic location vs syntactic location