aboutsummaryrefslogtreecommitdiff
path: root/luxc
diff options
context:
space:
mode:
authorEduardo Julian2020-05-05 00:47:58 -0400
committerEduardo Julian2020-05-05 00:47:58 -0400
commit724372e2b023bccbb93e1fa40e3c92ed2ee7e36c (patch)
treeb15130eb6e8fea2f4d1586085524517d92af0b4b /luxc
parenta419ec66895e07fbb54ecc59f92e154126a10ac5 (diff)
Fixed bugs while parsing modules' cached data.
Diffstat (limited to '')
-rw-r--r--luxc/src/lux/compiler/jvm/proc/common.clj8
1 files changed, 4 insertions, 4 deletions
diff --git a/luxc/src/lux/compiler/jvm/proc/common.clj b/luxc/src/lux/compiler/jvm/proc/common.clj
index cb5f48c74..d7023bae0 100644
--- a/luxc/src/lux/compiler/jvm/proc/common.clj
+++ b/luxc/src/lux/compiler/jvm/proc/common.clj
@@ -40,7 +40,7 @@
^:private compile-i64-xor Opcodes/LXOR
)
-(do-template [<name> <op>]
+(do-template [<op> <name>]
(defn <name> [compile ?values special-args]
(|do [:let [(&/$Cons ?input (&/$Cons ?shift (&/$Nil))) ?values]
^MethodVisitor *writer* &/get-writer
@@ -55,9 +55,9 @@
&&/wrap-long)]]
(return nil)))
- ^:private compile-i64-left-shift Opcodes/LSHL
- ^:private compile-i64-arithmetic-right-shift Opcodes/LSHR
- ^:private compile-i64-logical-right-shift Opcodes/LUSHR
+ Opcodes/LSHL ^:private compile-i64-left-shift
+ Opcodes/LSHR ^:private compile-i64-arithmetic-right-shift
+ Opcodes/LUSHR ^:private compile-i64-logical-right-shift
)
(defn ^:private compile-lux-is [compile ?values special-args]