-package org.simantics.scl.compiler.constants.generic;\r
-\r
-import org.simantics.scl.compiler.internal.codegen.references.Val;\r
-import org.simantics.scl.compiler.internal.codegen.utils.MethodBuilder;\r
-import org.simantics.scl.compiler.types.Type;\r
-\r
-public class ParameterStackItem implements StackItem {\r
-\r
- int id;\r
- Type type;\r
- \r
- public ParameterStackItem(int id, Type type) {\r
- this.id = id;\r
- this.type = type;\r
- }\r
-\r
- @Override\r
- public void push(MethodBuilder mb, Val[] parameters) {\r
- mb.push(parameters[id], type);\r
- }\r
- \r
- @Override\r
- public void prepare(MethodBuilder mb) {\r
- }\r
-}\r
+package org.simantics.scl.compiler.constants.generic;
+
+import org.simantics.scl.compiler.internal.codegen.references.Val;
+import org.simantics.scl.compiler.internal.codegen.utils.MethodBuilder;
+import org.simantics.scl.compiler.types.Type;
+
+public class ParameterStackItem implements StackItem {
+
+ int id;
+ Type type;
+
+ public ParameterStackItem(int id, Type type) {
+ this.id = id;
+ this.type = type;
+ }
+
+ @Override
+ public void push(MethodBuilder mb, Val[] parameters) {
+ mb.push(parameters[id], type);
+ }
+
+ @Override
+ public void prepare(MethodBuilder mb) {
+ }
+}