X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.scl.compiler%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Finternal%2Fcodegen%2Fssa%2Fstatements%2FLetApply.java;fp=bundles%2Forg.simantics.scl.compiler%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Finternal%2Fcodegen%2Fssa%2Fstatements%2FLetApply.java;h=400cb6e4e373f78c480e8fc37c1da3dc203a47f2;hp=b8b7def598175705f4beb2cb1f3b768688afe873;hb=fad36d463b75c3a9944d875fc627c3533f6da74d;hpb=d5c76b143c0000994bb76c40f0ea74354eb5ce8a diff --git a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/codegen/ssa/statements/LetApply.java b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/codegen/ssa/statements/LetApply.java index b8b7def59..400cb6e4e 100644 --- a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/codegen/ssa/statements/LetApply.java +++ b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/codegen/ssa/statements/LetApply.java @@ -77,7 +77,7 @@ public class LetApply extends LetStatement implements ValRefBinder { @Override public void toString(PrintingContext context) { - if(determineGenerateOnFly()) + if(/*target.getLabel() == null &&*/ determineGenerateOnFly()) context.addInlineExpression(target, this); else toStringAux(context); @@ -399,7 +399,7 @@ public class LetApply extends LetStatement implements ValRefBinder { tailBlock.setExit(headBlock.getExit()); // Merge blocks - thisFunction.mergeBlocks(function); + thisFunction.mergeBlocks(function); headBlock.setExit(new Jump(function.getFirstBlock().createOccurrence(), parameters));