]> gerrit.simantics Code Review - simantics/platform.git/blob - utils/LocalVariable.java
Fixed multiple issues causing dangling references to discarded queries
[simantics/platform.git] / utils / LocalVariable.java
1 package org.simantics.scl.compiler.internal.codegen.utils;
2
3 import org.cojen.classfile.TypeDesc;
4
5 public class LocalVariable {
6     final int index;
7     final TypeDesc type;
8     
9     public LocalVariable(int index, TypeDesc type) {
10         this.index = index;
11         this.type = type;
12     }
13
14     public TypeDesc getType() {
15         return type;
16     }
17 }