aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/translation
diff options
context:
space:
mode:
authorEduardo Julian2019-10-27 01:10:13 -0400
committerEduardo Julian2019-10-27 01:10:13 -0400
commitaab604028e117e505bc408f69dc416fe6d9f46a7 (patch)
tree5184e162e8524ea687d5567656029197742b9302 /new-luxc/source/luxc/lang/translation
parent87a9d756a9e94fb81fc14fea39df3e20d394afdb (diff)
Almost completely ported JVM runtime generation to the new JVM bytecode machinery.
Diffstat (limited to 'new-luxc/source/luxc/lang/translation')
-rw-r--r--new-luxc/source/luxc/lang/translation/jvm/runtime.lux11
1 files changed, 2 insertions, 9 deletions
diff --git a/new-luxc/source/luxc/lang/translation/jvm/runtime.lux b/new-luxc/source/luxc/lang/translation/jvm/runtime.lux
index ce271c4c9..78467022e 100644
--- a/new-luxc/source/luxc/lang/translation/jvm/runtime.lux
+++ b/new-luxc/source/luxc/lang/translation/jvm/runtime.lux
@@ -95,10 +95,6 @@
noneI
_.ARETURN)))
-(def: #export string-concatI
- Inst
- (_.INVOKEVIRTUAL $Text "concat" (type.method [(list $Text) $Text (list)])))
-
(def: #export partials-field Text "partials")
(def: #export apply-method Text "apply")
(def: #export num-apply-variants Nat 8)
@@ -121,8 +117,6 @@
store-valueI
_.ARETURN)))))
-(def: frac-shiftI Inst (_.double (math.pow +32.0 +2.0)))
-
(def: frac-methods
Def
(|>> ($d.method #$.Public $.staticM "decode_frac" (type.method [(list $Text) //.$Variant (list)])
@@ -360,6 +354,5 @@
(def: #export translate
(Operation Any)
(do phase.monad
- [runtime-bc translate-runtime
- function-bc translate-function]
- (wrap [])))
+ [_ translate-runtime]
+ translate-function))