From 4a19aaf0917a74ebd531751a91dfe0fb238f21c9 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Mon, 6 Jul 2015 22:06:09 +0300 Subject: [PATCH] Avoid invalid merging of phi-sourced nodes in DFG --- .../src/main/java/org/teavm/dependency/DataFlowGraphBuilder.java | 1 - 1 file changed, 1 deletion(-) diff --git a/teavm-core/src/main/java/org/teavm/dependency/DataFlowGraphBuilder.java b/teavm-core/src/main/java/org/teavm/dependency/DataFlowGraphBuilder.java index f9c2b845c..572744465 100644 --- a/teavm-core/src/main/java/org/teavm/dependency/DataFlowGraphBuilder.java +++ b/teavm-core/src/main/java/org/teavm/dependency/DataFlowGraphBuilder.java @@ -66,7 +66,6 @@ public class DataFlowGraphBuilder implements InstructionReader { int from = incoming.getValue().getIndex(); int to = phi.getReceiver().getIndex(); builder.addEdge(from, to); - join(from, to); } } block.readAllInstructions(this);