diff options
author | Eduardo Julian | 2020-08-18 23:44:12 -0400 |
---|---|---|
committer | Eduardo Julian | 2020-08-18 23:44:12 -0400 |
commit | d77ce19bf01a009cf5255e0a5d8201d8cc2f2178 (patch) | |
tree | c38b8a2962a4eb6e980078b0ac21627b0acad28c /lux-jvm/source/luxc | |
parent | c9e452617dc14dfe9955dc556640bc07f319224a (diff) |
Calculate SHA-1 and MD5 hashes.
Diffstat (limited to '')
-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) |