[X86] Remove unnecessary duplicate code (PR30649). NFCI.

llvm-svn: 298495
This commit is contained in:
Simon Pilgrim 2017-03-22 11:23:49 +00:00
parent 421fa6c9e2
commit b19a507a88
1 changed files with 0 additions and 5 deletions

View File

@ -650,11 +650,6 @@ static int readPrefixes(struct InternalInstruction* insn) {
insn->addressSize = (hasAdSize ? 4 : 8);
insn->displacementSize = 4;
insn->immediateSize = 4;
} else if (insn->rexPrefix) {
insn->registerSize = (hasOpSize ? 2 : 4);
insn->addressSize = (hasAdSize ? 4 : 8);
insn->displacementSize = (hasOpSize ? 2 : 4);
insn->immediateSize = (hasOpSize ? 2 : 4);
} else {
insn->registerSize = (hasOpSize ? 2 : 4);
insn->addressSize = (hasAdSize ? 4 : 8);