projects
/
fur
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implemented integer comparison
[fur]
/
crossplatform_ir_generation.py
diff --git
a/crossplatform_ir_generation.py
b/crossplatform_ir_generation.py
index
c452126
..
49e7408
100644
(file)
--- a/
crossplatform_ir_generation.py
+++ b/
crossplatform_ir_generation.py
@@
-45,6
+45,13
@@
def generate_instruction_name_from_builtin(builtin):
'__multiply__': 'mul',
'__negate__': 'neg',
'__subtract__': 'sub',
+
+ '__eq__': 'eq',
+ '__neq__': 'neq',
+ '__lt__': 'lt',
+ '__lte__': 'lte',
+ '__gt__': 'gt',
+ '__gte__': 'gte',
}[builtin]
except KeyError: