From d77ce19bf01a009cf5255e0a5d8201d8cc2f2178 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Tue, 18 Aug 2020 23:44:12 -0400 Subject: Calculate SHA-1 and MD5 hashes. --- .../luxc/lang/translation/jvm/extension/host.lux | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'lux-jvm/source/luxc/lang/translation') 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 [ ] - [(def: ( [xI yI]) + [(def: ( [parameterI subject1]) (Binary Inst) - (|>> xI - yI + (|>> subject1 + parameterI ))] [int::+ _.IADD] @@ -217,12 +217,12 @@ (def: trueI (_.GETSTATIC $Boolean "TRUE" $Boolean)) (template [ ] - [(def: ( [xI yI]) + [(def: ( [referenceI subjectI]) (Binary Inst) (<| _.with-label (function (_ @then)) _.with-label (function (_ @end)) - (|>> xI - yI + (|>> subjectI + referenceI ( @then) falseI (_.GOTO @end) @@ -238,12 +238,12 @@ ) (template [ ] - [(def: ( [xI yI]) + [(def: ( [referenceI subjectI]) (Binary Inst) (<| _.with-label (function (_ @then)) _.with-label (function (_ @end)) - (|>> xI - yI + (|>> subjectI + referenceI (_.int ) (_.IF_ICMPEQ @then) -- cgit v1.2.3