X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.scl.compiler%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Fconstants%2Fgeneric%2FParameterStackItem.java;fp=bundles%2Forg.simantics.scl.compiler%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Fconstants%2Fgeneric%2FParameterStackItem.java;h=1e50d21ddd8262eef1b613651bb777e6232c0fc1;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=35c6ba010424d4912b1b68e83cb7b06e6c182446;hpb=24e2b34260f219f0d1644ca7a138894980e25b14;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/constants/generic/ParameterStackItem.java b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/constants/generic/ParameterStackItem.java index 35c6ba010..1e50d21dd 100644 --- a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/constants/generic/ParameterStackItem.java +++ b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/constants/generic/ParameterStackItem.java @@ -1,25 +1,25 @@ -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) { - } -} +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) { + } +}