diff options
Diffstat (limited to 'new-luxc/source')
-rw-r--r-- | new-luxc/source/luxc/lang/translation/jvm/runtime.lux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/new-luxc/source/luxc/lang/translation/jvm/runtime.lux b/new-luxc/source/luxc/lang/translation/jvm/runtime.lux index 175a60e80..26d98771b 100644 --- a/new-luxc/source/luxc/lang/translation/jvm/runtime.lux +++ b/new-luxc/source/luxc/lang/translation/jvm/runtime.lux @@ -133,12 +133,12 @@ )) (def: #export popI - (|>> (_.int +0) + (|>> (_.int +1) _.AALOAD (_.CHECKCAST ($t.descriptor $Stack)))) (def: #export peekI - (|>> (_.int +1) + (|>> (_.int +0) _.AALOAD)) (def: pm-methods @@ -172,11 +172,11 @@ (|>> (_.int +2) (_.ANEWARRAY "java.lang.Object") _.DUP - (_.int +0) + (_.int +1) (_.ALOAD 0) _.AASTORE _.DUP - (_.int +1) + (_.int +0) (_.ALOAD 1) _.AASTORE _.ARETURN)) |