CS450 Compiler Design
71
Bootstrapping to Improve Efficiency
We have:
Ada-->
M
slow
Ada
Ada-->
M
slow
M
slow
We implement:
Ada-->
M
fast
Ada
Ada-->
M
fast
Ada
M
Ada-->
M
fast
M
slow
Step 1
Ada-->
M
slow
M
slow
Step 2
Ada-->
M
fast
Ada
M
Ada-->
M
fast
M
fast
Ada-->
M
fast
M
slow
Fast compiler that
emits fast code!