Assignment 7: Live-variable analysis

Due: 10:00 pm, Wednesday, November 24.

Project 7 is to read chapters ten and eleven of the text and write code to:

You will need this information to perform register allocation in the final phase of your compiler.

Stick to the module structure and API given in chapter ten.

You should submit the following files:

If some phase of your compiler is so broken that you cannot generate assembly code to test your analyser, you can try these example assembly files with your register allocator.

Warning: I only gave you a week to do this assignment, to make time available for the register allocator, which is a major piece of code. You cannot afford to delay, given your tight deadline on this assignment.

  –Olin

CS4410