From 690644bb293d7de12abddcaaca75f8f6c6dad24e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20B=C3=B6hm?= Date: Sat, 4 Jul 2009 11:16:37 +0200 Subject: cleanup --- src/back/tac.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/back') diff --git a/src/back/tac.py b/src/back/tac.py index 20b14d9..03303cf 100644 --- a/src/back/tac.py +++ b/src/back/tac.py @@ -21,12 +21,13 @@ Op.OR = Op("OR") # x = x OR y Op.NOT = Op("NOT") # x = !x Op.MINUS = Op("MINUS") # x = -x +Op.MOV = Op("MOV") # x = y Op.STORE = Op("STORE") # MEM[x] = y Op.LOAD = Op("LOAD") # y = MEM[x] -Op.MOV = Op("MOV") # x = y +Op.PUSH = Op("PUSH") # push x +Op.POP = Op("POP") # pop x Op.CMP = Op("CMP") # Z = x == y, N = x < y - Op.EQ = Op("EQ") # x = Z Op.NE = Op("NE") # x = !Z Op.LT = Op("LT") # x = N @@ -36,9 +37,6 @@ Op.GT = Op("GT") # x = !Z && !N Op.BEZ = Op("BEZ") # if x == 0 goto y Op.JMP = Op("JMP") # goto x - -Op.PUSH = Op("PUSH") # push x -Op.POP = Op("POP") # pop x Op.CALL = Op("CALL") # call x return in y Op.RETURN = Op("RETURN") # return x -- cgit v1.2.3