aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/translation/jvm/reference.jvm.lux
diff options
context:
space:
mode:
authorEduardo Julian2019-04-07 17:49:35 -0400
committerEduardo Julian2019-04-07 17:49:35 -0400
commita4e0eb58480a05e4c23a07d33965022125c539f2 (patch)
tree751b2dd5f6154b5940df39a3cb16c49868cd6551 /new-luxc/source/luxc/lang/translation/jvm/reference.jvm.lux
parenta61c3f2e7bc29c3224264317b14254fe93d503fe (diff)
Updated the JVM compiler to the latest changes.
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/jvm/reference.jvm.lux')
-rw-r--r--new-luxc/source/luxc/lang/translation/jvm/reference.jvm.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/new-luxc/source/luxc/lang/translation/jvm/reference.jvm.lux b/new-luxc/source/luxc/lang/translation/jvm/reference.jvm.lux
index 0a354a929..c821a9de2 100644
--- a/new-luxc/source/luxc/lang/translation/jvm/reference.jvm.lux
+++ b/new-luxc/source/luxc/lang/translation/jvm/reference.jvm.lux
@@ -1,6 +1,6 @@
(.module:
[lux #*
- [control
+ [abstract
[monad (#+ do)]]
[data
[text
@@ -10,7 +10,7 @@
["." name]
["." reference (#+ Register Variable)]
["." phase ("operation/." monad)
- ["." translation]]]]]
+ ["." generation]]]]]
[luxc
[lang
[host
@@ -31,7 +31,7 @@
(def: (foreign variable)
(-> Register (Operation Inst))
(do phase.monad
- [function-class translation.context]
+ [function-class generation.context]
(wrap (|>> (_.ALOAD 0)
(_.GETFIELD function-class
(|> variable .nat foreign-name)
@@ -53,5 +53,5 @@
(def: #export (constant name)
(-> Name (Operation Inst))
(do phase.monad
- [bytecode-name (translation.remember name)]
+ [bytecode-name (generation.remember name)]
(operation/wrap (_.GETSTATIC bytecode-name //.value-field //.$Object))))