1 package org.simantics.scl.compiler.constants;
3 import org.cojen.classfile.TypeDesc;
4 import org.simantics.scl.compiler.internal.codegen.utils.LocalVariable;
5 import org.simantics.scl.compiler.internal.codegen.utils.MethodBuilder;
6 import org.simantics.scl.compiler.internal.codegen.utils.TransientClassBuilder;
7 import org.simantics.scl.compiler.types.Type;
9 public class LocalVariableConstant extends Constant {
13 public LocalVariableConstant(Type type, LocalVariable var) {
19 public void push(MethodBuilder mb) {
21 if(var.getType() == TypeDesc.OBJECT)
26 public Object realizeValue(TransientClassBuilder classBuilder) {
27 throw new UnsupportedOperationException();