aboutsummaryrefslogtreecommitdiff
path: root/lux-jvm/source/luxc/lang/host/jvm/inst.lux
diff options
context:
space:
mode:
Diffstat (limited to 'lux-jvm/source/luxc/lang/host/jvm/inst.lux')
-rw-r--r--lux-jvm/source/luxc/lang/host/jvm/inst.lux58
1 files changed, 29 insertions, 29 deletions
diff --git a/lux-jvm/source/luxc/lang/host/jvm/inst.lux b/lux-jvm/source/luxc/lang/host/jvm/inst.lux
index 1a2c811a3..f7a8e6b18 100644
--- a/lux-jvm/source/luxc/lang/host/jvm/inst.lux
+++ b/lux-jvm/source/luxc/lang/host/jvm/inst.lux
@@ -40,7 +40,7 @@
(def: descriptor (|>> type.descriptor descriptor.descriptor))
(def: reflection (|>> type.reflection reflection.reflection))
-## [Host]
+... [Host]
(import: java/lang/Object)
(import: java/lang/String)
@@ -53,26 +53,26 @@
["#::."
(#static NOP int)
- ## Conversion
+ ... Conversion
(~~ (declare D2F D2I D2L
F2D F2I F2L
I2B I2C I2D I2F I2L I2S
L2D L2F L2I))
- ## Primitive
+ ... Primitive
(~~ (declare T_BOOLEAN T_CHAR T_FLOAT T_DOUBLE
T_BYTE T_SHORT T_INT T_LONG))
- ## Class
+ ... Class
(~~ (declare CHECKCAST NEW INSTANCEOF))
- ## Stack
+ ... Stack
(~~ (declare DUP DUP_X1 DUP_X2
DUP2 DUP2_X1 DUP2_X2
POP POP2
SWAP))
- ## Jump
+ ... Jump
(~~ (declare IF_ICMPEQ IF_ICMPGT IF_ICMPLT
IF_ICMPNE IF_ICMPGE IF_ICMPLE
IF_ACMPEQ IF_ACMPNE IFNULL IFNONNULL
@@ -86,22 +86,22 @@
DCONST_0 DCONST_1))
(#static ACONST_NULL int)
- ## Var
+ ... Var
(~~ (declare IINC
ILOAD LLOAD FLOAD DLOAD ALOAD
ISTORE LSTORE FSTORE DSTORE ASTORE))
- ## Arithmetic
+ ... Arithmetic
(~~ (declare IADD ISUB IMUL IDIV IREM INEG
LADD LSUB LMUL LDIV LREM LNEG LCMP
FADD FSUB FMUL FDIV FREM FNEG FCMPG FCMPL
DADD DSUB DMUL DDIV DREM DNEG DCMPG DCMPL))
- ## Bit-wise
+ ... Bit-wise
(~~ (declare IAND IOR IXOR ISHL ISHR IUSHR
LAND LOR LXOR LSHL LSHR LUSHR))
- ## Array
+ ... Array
(~~ (declare ARRAYLENGTH NEWARRAY ANEWARRAY
AALOAD AASTORE
BALOAD BASTORE
@@ -112,16 +112,16 @@
DALOAD DASTORE
CALOAD CASTORE))
- ## Member
+ ... Member
(~~ (declare GETSTATIC PUTSTATIC GETFIELD PUTFIELD
INVOKESTATIC INVOKESPECIAL INVOKEVIRTUAL INVOKEINTERFACE))
(#static ATHROW int)
- ## Concurrency
+ ... Concurrency
(~~ (declare MONITORENTER MONITOREXIT))
- ## Return
+ ... Return
(~~ (declare RETURN IRETURN LRETURN FRETURN DRETURN ARETURN))]
))
@@ -148,7 +148,7 @@
(visitTableSwitchInsn [int int org/objectweb/asm/Label [org/objectweb/asm/Label]] void)
])
-## [Insts]
+... [Insts]
(def: .public make_label
(All [s] (Operation s org/objectweb/asm/Label))
(function (_ state)
@@ -174,7 +174,7 @@
)
(template: (!prefix short)
- (`` ((~~ (template.identifier ["org/objectweb/asm/Opcodes::" short])))))
+ [(`` ((~~ (template.identifier ["org/objectweb/asm/Opcodes::" short]))))])
(template [<constant>]
[(def: .public <constant>
@@ -215,38 +215,38 @@
[NOP]
- ## Stack
+ ... Stack
[DUP] [DUP_X1] [DUP_X2] [DUP2] [DUP2_X1] [DUP2_X2]
[POP] [POP2]
[SWAP]
- ## Conversions
+ ... Conversions
[D2F] [D2I] [D2L]
[F2D] [F2I] [F2L]
[I2B] [I2C] [I2D] [I2F] [I2L] [I2S]
[L2D] [L2F] [L2I]
- ## Integer arithmetic
+ ... Integer arithmetic
[IADD] [ISUB] [IMUL] [IDIV] [IREM] [INEG]
- ## Integer bitwise
+ ... Integer bitwise
[IAND] [IOR] [IXOR] [ISHL] [ISHR] [IUSHR]
- ## Long arithmetic
+ ... Long arithmetic
[LADD] [LSUB] [LMUL] [LDIV] [LREM] [LNEG]
[LCMP]
- ## Long bitwise
+ ... Long bitwise
[LAND] [LOR] [LXOR] [LSHL] [LSHR] [LUSHR]
- ## Float arithmetic
+ ... Float arithmetic
[FADD] [FSUB] [FMUL] [FDIV] [FREM] [FNEG] [FCMPG] [FCMPL]
- ## Double arithmetic
+ ... Double arithmetic
[DADD] [DSUB] [DMUL] [DDIV] [DREM] [DNEG]
[DCMPG] [DCMPL]
- ## Array
+ ... Array
[ARRAYLENGTH]
[AALOAD] [AASTORE]
[BALOAD] [BASTORE]
@@ -257,13 +257,13 @@
[DALOAD] [DASTORE]
[CALOAD] [CASTORE]
- ## Exceptions
+ ... Exceptions
[ATHROW]
- ## Concurrency
+ ... Concurrency
[MONITORENTER] [MONITOREXIT]
- ## Return
+ ... Return
[RETURN] [IRETURN] [LRETURN] [FRETURN] [DRETURN] [ARETURN]
)
@@ -330,7 +330,7 @@
[type.float org/objectweb/asm/Opcodes::T_FLOAT]
[type.double org/objectweb/asm/Opcodes::T_DOUBLE]
[type.char org/objectweb/asm/Opcodes::T_CHAR]))
- ## else
+ ... else
(undefined)))))))
(template [<name> <inst> <interface?>]
@@ -434,7 +434,7 @@
[type.float <float>]
[type.double <double>]
[type.char <char>]))
- ## else
+ ... else
(undefined))))]
[primitive_wrapper