aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/host/jvm/def.lux
diff options
context:
space:
mode:
authorEduardo Julian2018-07-29 02:30:13 -0400
committerEduardo Julian2018-07-29 02:30:13 -0400
commita59fc865aee240afe21b82ffef2681bb9a6ea693 (patch)
treeb5a2d95ffdec3edd2ecf7615c477ba522779d985 /new-luxc/source/luxc/lang/host/jvm/def.lux
parent3b156dca7b4750e99bdd68b3858521e3fd6b3de5 (diff)
Adapted new-luxc to some of the latest changes to Lux.
Diffstat (limited to '')
-rw-r--r--new-luxc/source/luxc/lang/host/jvm/def.lux24
1 files changed, 12 insertions, 12 deletions
diff --git a/new-luxc/source/luxc/lang/host/jvm/def.lux b/new-luxc/source/luxc/lang/host/jvm/def.lux
index f70543ff7..33ded893b 100644
--- a/new-luxc/source/luxc/lang/host/jvm/def.lux
+++ b/new-luxc/source/luxc/lang/host/jvm/def.lux
@@ -92,28 +92,28 @@
#$.Public Opcodes::ACC_PUBLIC
#$.Protected Opcodes::ACC_PROTECTED
#$.Private Opcodes::ACC_PRIVATE
- #$.Default 0))
+ #$.Default +0))
(def: (class-flags config)
(-> $.Class-Config Int)
($_ i/+
- (if (get@ #$.finalC config) Opcodes::ACC_FINAL 0)))
+ (if (get@ #$.finalC config) Opcodes::ACC_FINAL +0)))
(def: (method-flags config)
(-> $.Method-Config Int)
($_ i/+
- (if (get@ #$.staticM config) Opcodes::ACC_STATIC 0)
- (if (get@ #$.finalM config) Opcodes::ACC_FINAL 0)
- (if (get@ #$.synchronizedM config) Opcodes::ACC_SYNCHRONIZED 0)
- (if (get@ #$.strictM config) Opcodes::ACC_STRICT 0)))
+ (if (get@ #$.staticM config) Opcodes::ACC_STATIC +0)
+ (if (get@ #$.finalM config) Opcodes::ACC_FINAL +0)
+ (if (get@ #$.synchronizedM config) Opcodes::ACC_SYNCHRONIZED +0)
+ (if (get@ #$.strictM config) Opcodes::ACC_STRICT +0)))
(def: (field-flags config)
(-> $.Field-Config Int)
($_ i/+
- (if (get@ #$.staticF config) Opcodes::ACC_STATIC 0)
- (if (get@ #$.finalF config) Opcodes::ACC_FINAL 0)
- (if (get@ #$.transientF config) Opcodes::ACC_TRANSIENT 0)
- (if (get@ #$.volatileF config) Opcodes::ACC_VOLATILE 0)))
+ (if (get@ #$.staticF config) Opcodes::ACC_STATIC +0)
+ (if (get@ #$.finalF config) Opcodes::ACC_FINAL +0)
+ (if (get@ #$.transientF config) Opcodes::ACC_TRANSIENT +0)
+ (if (get@ #$.volatileF config) Opcodes::ACC_VOLATILE +0)))
(def: class-to-type
(-> $.Class $.Type)
@@ -176,7 +176,7 @@
_ (ClassWriter::visitEnd [] writer)]
(ClassWriter::toByteArray [] writer)))]
- [class 0]
+ [class +0]
[abstract Opcodes::ACC_ABSTRACT]
)
@@ -217,7 +217,7 @@
writer)
_ (MethodVisitor::visitCode [] =method)
_ (then =method)
- _ (MethodVisitor::visitMaxs [0 0] =method)
+ _ (MethodVisitor::visitMaxs [+0 +0] =method)
_ (MethodVisitor::visitEnd [] =method)]
writer)))