aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/target/jvm/instruction/jump.lux
diff options
context:
space:
mode:
authorEduardo Julian2019-08-12 23:03:26 -0400
committerEduardo Julian2019-08-12 23:03:26 -0400
commitcdfda2f80b2abd8ec7d8021aab910ccc82271ade (patch)
treeb496fb1f2f0319eed2a6638d4eabcda30edc7cb1 /stdlib/source/lux/target/jvm/instruction/jump.lux
parent85239d2c294a28b45f46f0b1333d161a403270f6 (diff)
Implemented TABLESWITCH and LOOKUPSWITCH instructions.
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/target/jvm/instruction/jump.lux4
1 files changed, 4 insertions, 0 deletions
diff --git a/stdlib/source/lux/target/jvm/instruction/jump.lux b/stdlib/source/lux/target/jvm/instruction/jump.lux
index 19f667cfe..fcda92bd1 100644
--- a/stdlib/source/lux/target/jvm/instruction/jump.lux
+++ b/stdlib/source/lux/target/jvm/instruction/jump.lux
@@ -15,3 +15,7 @@
///signed.s2-writer)
(type: #export Big-Jump S4)
+
+(def: #export lift
+ (-> Jump Big-Jump)
+ (|>> ///signed.int ///signed.s4))