mnbujold / c415-compiler

Fall 2012 CMPUT 415 Compiler Course
0 stars 3 forks source link

Allocate word on stack for functions #55

Open dchui1 opened 11 years ago

dchui1 commented 11 years ago

Currently, a function returns a value at the lowest address of the parameters it was passed in as. If there are no params to a function, we will need to adjust 1 so that we have space to put the return value. Obviously, we need to consistent, so we will need to change the code in ascgen.c to reflect this, and teh builtinfunctions to reflect this as well

Why can't we assign 2 people to issues!?

dchui1 commented 11 years ago

Implemented in ascgen