fix for 'JetControlFlowTest.testLocalDeclarations' test

This commit is contained in:
Svetlana Isakova
2012-05-28 18:37:03 +04:00
parent b2cea09fcc
commit 2165d5b765
@@ -115,7 +115,7 @@ public class PseudocodeImpl implements Pseudocode {
@NotNull
private static Set<LocalDeclarationInstruction> getLocalDeclarations(@NotNull Pseudocode pseudocode) {
Set<LocalDeclarationInstruction> localDeclarations = Sets.newHashSet();
Set<LocalDeclarationInstruction> localDeclarations = Sets.newLinkedHashSet();
for (Instruction instruction : pseudocode.getInstructions()) {
if (instruction instanceof LocalDeclarationInstruction) {
localDeclarations.add((LocalDeclarationInstruction) instruction);