From a6987ad82f107df49853e1601b73076d030d6fc8 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Mon, 1 Jun 2020 20:16:32 -0400 Subject: Implemented an optimization for getting fields/slots from records in the new compiler. --- lux-jvm/source/luxc/lang/translation/jvm/expression.lux | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lux-jvm/source/luxc/lang/translation/jvm/expression.lux') diff --git a/lux-jvm/source/luxc/lang/translation/jvm/expression.lux b/lux-jvm/source/luxc/lang/translation/jvm/expression.lux index 144e35f9b..01425750f 100644 --- a/lux-jvm/source/luxc/lang/translation/jvm/expression.lux +++ b/lux-jvm/source/luxc/lang/translation/jvm/expression.lux @@ -53,6 +53,9 @@ (^ (synthesis.branch/if data)) (case.if translate archive data) + (^ (synthesis.branch/get data)) + (case.get translate archive data) + (^ (synthesis.branch/case data)) (case.case translate archive data) -- cgit v1.2.3