Skip to content

Commit

Permalink
Fix Dup2X1 and Dup2X2 analysis impls being swapped
Browse files Browse the repository at this point in the history
Thank you soostrator for pointing that out
  • Loading branch information
Col-E committed Aug 10, 2023
1 parent 0f123fd commit 1959680
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ public void handle(Frame frame, AbstractInstruction instruction) throws Analysis
Value value1 = frame.pop();
Value value2 = frame.pop();
Value value3 = frame.pop();
Value value4 = frame.pop();
frame.push(value2); // inserted
frame.push(value1); // inserted
frame.push(value4); // original
frame.push(value3); // original
frame.push(value2); // original
frame.push(value1); // original
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ public void handle(Frame frame, AbstractInstruction instruction) throws Analysis
Value value1 = frame.pop();
Value value2 = frame.pop();
Value value3 = frame.pop();
Value value4 = frame.pop();
frame.push(value2); // inserted
frame.push(value1); // inserted
frame.push(value4); // original
frame.push(value3); // original
frame.push(value2); // original
frame.push(value1); // original
Expand Down

0 comments on commit 1959680

Please sign in to comment.