diff options
author | Eduardo Julian | 2017-11-01 00:51:45 -0400 |
---|---|---|
committer | Eduardo Julian | 2017-11-01 00:51:45 -0400 |
commit | 012f6bd41e527479dddbccbdab10daa78fd9a0fd (patch) | |
tree | 621f344a09acd52736f343d94582b3f1a2f0c5f9 /new-luxc/source/luxc/lang/translation/procedure/common.jvm.lux | |
parent | 71d7a4c7206155e09f3e1e1d8699561ea6967382 (diff) |
- Re-organized code-generation, and re-named it "translation".
Diffstat (limited to '')
-rw-r--r-- | new-luxc/source/luxc/lang/translation/procedure/common.jvm.lux (renamed from new-luxc/source/luxc/generator/procedure/common.jvm.lux) | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/new-luxc/source/luxc/generator/procedure/common.jvm.lux b/new-luxc/source/luxc/lang/translation/procedure/common.jvm.lux index dffbcb64e..80becb058 100644 --- a/new-luxc/source/luxc/generator/procedure/common.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/procedure/common.jvm.lux @@ -16,9 +16,8 @@ ["$d" def] ["$i" inst])) (lang ["la" analysis] - ["ls" synthesis]) - (generator ["&;" common] - ["&;" runtime]))) + ["ls" synthesis] + (translation [";T" runtime])))) (host;import java.lang.Long (#static MIN_VALUE Long) @@ -193,11 +192,11 @@ $i;AALOAD $i;DUP ($i;IFNULL @is-null) - &runtime;someI + runtimeT;someI ($i;GOTO @end) ($i;label @is-null) $i;POP - &runtime;noneI + runtimeT;noneI ($i;label @end)))) (def: (array//put [arrayI idxI elemI]) @@ -400,11 +399,11 @@ ($i;int -1) ($i;IF_ICMPEQ @not-found) lux-intI - &runtime;someI + runtimeT;someI ($i;GOTO @end) ($i;label @not-found) $i;POP - &runtime;noneI + runtimeT;noneI ($i;label @end))))] [text//index "indexOf"] |