Skip to content

Commit

Permalink
Fix toString() for YieldInstr
Browse files Browse the repository at this point in the history
  • Loading branch information
subbuss committed Feb 9, 2015
1 parent 2088715 commit c8f306c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -43,7 +43,7 @@ public Instr clone(CloneInfo ii) {

@Override
public String toString() {
return getOperation() + "(" + getBlockArg() + ", " + (unwrapArray ? "UNWRAP=" : "") + getYieldArg() + ")";
return getResult() + " = " + getOperation() + "(" + getBlockArg() + ", " + (unwrapArray ? "UNWRAP=" : "") + getYieldArg() + ")";
}

public boolean isUnwrapArray() {
Expand Down

0 comments on commit c8f306c

Please sign in to comment.