CSC448: Code Generation: Run-Time Environment III [4/14] |
As an aside, analysis of a program may reveal that some storage locations for variables can be reused:
x := 3; goto l2; label l1; print (x); x := x - 1; label l2; if (0 <= x) goto l1; y := 5; goto l4; label l3; print (y); y := y - 1; label l4; if (0 <= y) goto l3;