]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/codegen/continuations/Cont.java
SCL compiler generates line numbers to bytecode
[simantics/platform.git] / bundles / org.simantics.scl.compiler / src / org / simantics / scl / compiler / internal / codegen / continuations / Cont.java
index 62d6680de9969bd1ae14e29e48226eebb7c1ac6e..504e37f49460194302be5d15ae496a26a7e3d21a 100644 (file)
@@ -68,7 +68,7 @@ public abstract class Cont implements ICont {
             proxyParameters[i] = new BoundVar(oldParameters[i].getType());
         SSABlock block = new SSABlock(proxyParameters);
         function.addBlock(block);
-        block.setExit(new Jump(createOccurrence(), 
+        block.setExit(new Jump(-1, createOccurrence(), 
                 ValRef.concat(ValRef.createOccurrences(newParameters), 
                         ValRef.createOccurrences(proxyParameters))));
         return block;