Added note TODO

This commit is contained in:
Tristan B. Velloza Kildaire 2021-10-26 21:04:47 +02:00
parent 6ac0f5fed7
commit 5b70175de4
2 changed files with 4 additions and 4 deletions

View File

@ -253,11 +253,11 @@ public final class TypeChecker
* Codegen
*
* Retrieve the two Value Instructions
*
* STACK AFFECT: We could swap these for correct ordering
* (FIXME, not urgent but needed)
*/
Instruction vLhsInstr = popInstr();
printCodeQueue();
Instruction vRhsInstr = popInstr();
AddInstr addInst = new AddInstr(vLhsInstr, vRhsInstr);

View File

@ -7,4 +7,4 @@ class F
int p = 21;
int j = 2;
int k = p+j;
int k = p+j+1;