]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/codegen/utils/LocalVariable.java
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.scl.compiler / src / org / simantics / scl / compiler / internal / codegen / utils / LocalVariable.java
diff --git a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/codegen/utils/LocalVariable.java b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/codegen/utils/LocalVariable.java
new file mode 100644 (file)
index 0000000..fde7a2f
--- /dev/null
@@ -0,0 +1,17 @@
+package org.simantics.scl.compiler.internal.codegen.utils;
+
+import org.cojen.classfile.TypeDesc;
+
+public class LocalVariable {
+    final int index;
+    final TypeDesc type;
+    
+    public LocalVariable(int index, TypeDesc type) {
+        this.index = index;
+        this.type = type;
+    }
+
+    public TypeDesc getType() {
+        return type;
+    }
+}