Fix two-operands subtraction
This commit is contained in:
parent
a376f31d4a
commit
1a0eeea38b
|
|
@ -47,4 +47,9 @@
|
||||||
(bril:ValueInstr 'sub dest (bril:Type 'int)
|
(bril:ValueInstr 'sub dest (bril:Type 'int)
|
||||||
(list dest
|
(list dest
|
||||||
(symbol->string v1))
|
(symbol->string v1))
|
||||||
|
'() '()))]
|
||||||
|
[(Prim '- (list (Var v1) (Var v2)))
|
||||||
|
(list (bril:ValueInstr 'sub dest (bril:Type 'int)
|
||||||
|
(list (symbol->string v1)
|
||||||
|
(symbol->string v2))
|
||||||
'() '()))]))
|
'() '()))]))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue