Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
Merge "Fix bad instruction massaging"
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitlamarche authored and Gerrit Code Review committed Feb 13, 2017
2 parents 2775aa3 + 0e44f19 commit e5a2644
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dx/src/com/android/dx/rop/code/RegisterSpecList.java
Expand Up @@ -417,11 +417,13 @@ private void expandRegister(int regIdx, RegisterSpec registerToExpand) {
if (!duplicateFirst) {
base += expandedReg.getCategory();
}
duplicateFirst = false;
} else {
expandedReg = registerToExpand;
}

// Reset duplicateFirst when the first register has been dealt with.
duplicateFirst = false;

result.set0(regIdx, expandedReg);
}

Expand Down

0 comments on commit e5a2644

Please sign in to comment.