Closed kiranmayee18 closed 6 years ago
For loop doesnt run from 0 to a variable (it throws an error and no IR is generated). However doing variable - 0 works.
Thanks for reporting. fixed in https://github.com/harry-7/Decaf-Compiler/commit/a84d10fcbeb504facb1f2f2a6747ebcf62bf947f
For loop doesnt run from 0 to a variable (it throws an error and no IR is generated). However doing variable - 0 works.