Homework 3
Due Feb 6th, 1998
1. Scalar replacement of aggregates (Section 12.2) makes optimizations applicable to components of aggregates (such as records and arrays). What conditions are necessary before one can perform scalar replacement of aggregates? Give an example code segment in which scalar replacement of aggregates is not possible.
2. Problem 13.1 from Muchnick
3. Problem 13.2 from Muchnick