Week 9/45
Exercises on code generation
Discuss what a good strategy for computing the stack limit could be.
Show an appropriate code template for the
for
-loop, which could be used if we no longer handled it as syntactic sugar.
Change the code template for
!E
(on slide 19) to compute the result as
1-E
. Modify the JOOS compiler and try it out.
Study the code for generating code for JOOS programs.
Maintained by Laurie J. Hendren. Last modified Fri Sep 17 07:24:42 EDT 2004.
[HOME]
Compiler research projects:
Soot, a Java analysis, optimization and transformation toolkit
----
abc, an AspectJ compiler
.