X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.scl.compiler%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Fconstants%2FSCLConstructor.java;h=1491c71bd6582cb90c9154f4e478846c3e5f119a;hp=9e8c7a0f2310c79b0bc28c26fc505bdb07ae394c;hb=1b969e34d51e9a17a0038367a29b93c2822495ed;hpb=9c21f5837af6102a9dd05cb6a425bafe25576822 diff --git a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/constants/SCLConstructor.java b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/constants/SCLConstructor.java index 9e8c7a0f2..1491c71bd 100644 --- a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/constants/SCLConstructor.java +++ b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/constants/SCLConstructor.java @@ -2,6 +2,8 @@ package org.simantics.scl.compiler.constants; import org.cojen.classfile.TypeDesc; import org.objectweb.asm.Label; +import org.simantics.scl.compiler.constants.componentaccess.ComponentAccess; +import org.simantics.scl.compiler.constants.componentaccess.FieldComponentAccess; import org.simantics.scl.compiler.internal.codegen.continuations.Cont; import org.simantics.scl.compiler.internal.codegen.references.BoundVar; import org.simantics.scl.compiler.internal.codegen.references.IVal; @@ -18,40 +20,38 @@ import org.simantics.scl.compiler.types.Types; public class SCLConstructor extends FunctionValue { private static int MAX_FIELD_COUNT = Constants.MAX_TUPLE_LENGTH; - public static String[][] DEFAULT_FIELD_NAMES = new String[MAX_FIELD_COUNT+1][]; + public static ComponentAccess[][] DEFAULT_FIELD_NAMES = new ComponentAccess[MAX_FIELD_COUNT+1][]; static { for(int i=0;i<=MAX_FIELD_COUNT;++i) { - String[] fieldNames = new String[i]; + ComponentAccess[] fieldNames = new ComponentAccess[i]; for(int j=0;j