jaskirat1208 / cool-compiler

1 stars 0 forks source link

Nothing done for handling constants in TAC(3 address instruction) #1

Closed anupriy97 closed 6 years ago

anupriy97 commented 6 years ago

Constants are handled by adding a new entry in the enum VarType which is "ConstInt" and a new attribute "value" in SymbolTableEntry class which stores its numerical value.