diff options
Diffstat (limited to 'lux-jvm/source/luxc')
-rw-r--r-- | lux-jvm/source/luxc/lang/translation/jvm/extension/host.lux | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lux-jvm/source/luxc/lang/translation/jvm/extension/host.lux b/lux-jvm/source/luxc/lang/translation/jvm/extension/host.lux index 5796cc8b9..f0de62d52 100644 --- a/lux-jvm/source/luxc/lang/translation/jvm/extension/host.lux +++ b/lux-jvm/source/luxc/lang/translation/jvm/extension/host.lux @@ -169,10 +169,10 @@ ))) (template [<name> <op>] - [(def: (<name> [xI yI]) + [(def: (<name> [parameterI subject1]) (Binary Inst) - (|>> xI - yI + (|>> subject1 + parameterI <op>))] [int::+ _.IADD] @@ -217,12 +217,12 @@ (def: trueI (_.GETSTATIC $Boolean "TRUE" $Boolean)) (template [<name> <op>] - [(def: (<name> [xI yI]) + [(def: (<name> [referenceI subjectI]) (Binary Inst) (<| _.with-label (function (_ @then)) _.with-label (function (_ @end)) - (|>> xI - yI + (|>> subjectI + referenceI (<op> @then) falseI (_.GOTO @end) @@ -238,12 +238,12 @@ ) (template [<name> <op> <reference>] - [(def: (<name> [xI yI]) + [(def: (<name> [referenceI subjectI]) (Binary Inst) (<| _.with-label (function (_ @then)) _.with-label (function (_ @end)) - (|>> xI - yI + (|>> subjectI + referenceI <op> (_.int <reference>) (_.IF_ICMPEQ @then) |