From a79927892174c3564c83a0e741e5cc0aaaeeb37c Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Fri, 30 Jun 2017 18:43:07 -0400 Subject: - WIP: Added generation for common procedures. --- new-luxc/source/luxc/generator/structure.jvm.lux | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'new-luxc/source/luxc/generator/structure.jvm.lux') diff --git a/new-luxc/source/luxc/generator/structure.jvm.lux b/new-luxc/source/luxc/generator/structure.jvm.lux index 74e44d1ca..e3a4bed75 100644 --- a/new-luxc/source/luxc/generator/structure.jvm.lux +++ b/new-luxc/source/luxc/generator/structure.jvm.lux @@ -15,7 +15,8 @@ (host ["$" jvm] (jvm ["$t" type] ["$d" def] - ["$i" inst]))))) + ["$i" inst])))) + [../runtime]) (def: $Object $;Type ($t;class "java.lang.Object" (list))) @@ -50,7 +51,7 @@ (wrap (|>. ($i;int (nat-to-int tag)) (flagI tail?) memberI - ($i;INVOKESTATIC &common;runtime-class-name + ($i;INVOKESTATIC ../runtime;runtime-name "sum_make" ($t;method (list $t;int $Object $Object) (#;Some ($t;array +1 $Object)) -- cgit v1.2.3