diff options
Diffstat (limited to '')
-rw-r--r-- | new-luxc/source/luxc/lang/translation/reference.jvm.lux (renamed from new-luxc/source/luxc/generator/reference.jvm.lux) | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/new-luxc/source/luxc/generator/reference.jvm.lux b/new-luxc/source/luxc/lang/translation/reference.jvm.lux index 9af511167..7c42f9f08 100644 --- a/new-luxc/source/luxc/generator/reference.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/reference.jvm.lux @@ -8,18 +8,18 @@ (jvm ["$t" type] ["$i" inst])) (lang ["ls" synthesis] - [";L" variable #+ Variable]) - (generator [";G" common] - [";G" function]))) + [";L" variable #+ Variable] + (translation [";T" common] + [";T" function])))) (def: #export (generate-captured variable) (-> Variable (Meta $;Inst)) (do meta;Monad<Meta> - [function-class commonG;function] + [function-class commonT;function] (wrap (|>. ($i;ALOAD +0) ($i;GETFIELD function-class - (|> variable i.inc (i.* -1) int-to-nat functionG;captured) - commonG;$Object))))) + (|> variable i.inc (i.* -1) int-to-nat functionT;captured) + commonT;$Object))))) (def: #export (generate-variable variable) (-> Variable (Meta $;Inst)) @@ -28,4 +28,4 @@ (def: #export (generate-definition [def-module def-name]) (-> Ident (Meta $;Inst)) (let [bytecode-name (format def-module "/" (&;normalize-name def-name))] - (meta/wrap ($i;GETSTATIC bytecode-name commonG;value-field commonG;$Object)))) + (meta/wrap ($i;GETSTATIC bytecode-name commonT;value-field commonT;$Object)))) |