]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/codegen/utils/LocalVariable.java
(refs #7250) Merging master, minor CHR bugfixes
[simantics/platform.git] / bundles / org.simantics.scl.compiler / src / org / simantics / scl / compiler / internal / codegen / 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 }