minuteman3/cs4071-ssa-optimiser — pull request #2 by wheybags (2013-12-15 17:09:34+00:00)
Title: Conversion to ssa

I made an example json file representing the example we used in class.
I also wrote the code for inserting phi functions.
I'm gonna leave this pull request open until I have conversion to ssa fully complete.
Please comment on what I'm doing here, as in some places I'm not sure I'm correct.
Also: how are we gonna deal with memory? (what do we regard as a "variable", a register, a memory location, or develop some way of relating them to eachother?)
In the below, I have interpreted registers as variables.