diff options
Diffstat (limited to 'new-luxc/source/luxc/lang/host/jvm')
-rw-r--r-- | new-luxc/source/luxc/lang/host/jvm/def.lux | 12 | ||||
-rw-r--r-- | new-luxc/source/luxc/lang/host/jvm/inst.lux | 10 |
2 files changed, 11 insertions, 11 deletions
diff --git a/new-luxc/source/luxc/lang/host/jvm/def.lux b/new-luxc/source/luxc/lang/host/jvm/def.lux index 86f7999ba..c973f79c3 100644 --- a/new-luxc/source/luxc/lang/host/jvm/def.lux +++ b/new-luxc/source/luxc/lang/host/jvm/def.lux @@ -11,10 +11,10 @@ (// ["$t" type])) ## [Host] -(host.import #long java/lang/Object) -(host.import #long java/lang/String) +(host.import: #long java/lang/Object) +(host.import: #long java/lang/String) -(host.import org/objectweb/asm/Opcodes +(host.import: org/objectweb/asm/Opcodes (#static ACC_PUBLIC int) (#static ACC_PROTECTED int) (#static ACC_PRIVATE int) @@ -41,15 +41,15 @@ (#static V1_8 int) ) -(host.import org/objectweb/asm/FieldVisitor +(host.import: org/objectweb/asm/FieldVisitor (visitEnd [] void)) -(host.import org/objectweb/asm/MethodVisitor +(host.import: org/objectweb/asm/MethodVisitor (visitCode [] void) (visitMaxs [int int] void) (visitEnd [] void)) -(host.import org/objectweb/asm/ClassWriter +(host.import: org/objectweb/asm/ClassWriter (#static COMPUTE_MAXS int) (#static COMPUTE_FRAMES int) (new [int]) diff --git a/new-luxc/source/luxc/lang/host/jvm/inst.lux b/new-luxc/source/luxc/lang/host/jvm/inst.lux index 671a2bb3c..c3088ec7d 100644 --- a/new-luxc/source/luxc/lang/host/jvm/inst.lux +++ b/new-luxc/source/luxc/lang/host/jvm/inst.lux @@ -15,15 +15,15 @@ [//type]) ## [Host] -(host.import #long java/lang/Object) -(host.import #long java/lang/String) +(host.import: #long java/lang/Object) +(host.import: #long java/lang/String) (syntax: (declare {codes (p.many s.local-symbol)}) (|> codes (list/map (function (_ code) (` ((~' #static) (~ (code.local-symbol code)) (~' int))))) wrap)) -(`` (host.import org/objectweb/asm/Opcodes +(`` (host.import: org/objectweb/asm/Opcodes (#static NOP int) ## Conversion @@ -90,10 +90,10 @@ (~~ (declare RETURN IRETURN LRETURN DRETURN ARETURN)) )) -(host.import org/objectweb/asm/Label +(host.import: org/objectweb/asm/Label (new [])) -(host.import org/objectweb/asm/MethodVisitor +(host.import: org/objectweb/asm/MethodVisitor (visitCode [] void) (visitMaxs [int int] void) (visitEnd [] void) |