[llvm-bugs] [Bug 30649] New: llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.cpp:658: possible copy'n'paste error ?
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Oct 9 14:30:42 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=30649
Bug ID: 30649
Summary: llvm/lib/Target/X86/Disassembler/X86DisassemblerDecode
r.cpp:658: possible copy'n'paste error ?
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: dcb314 at hotmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
lvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.cpp:658:1: note: V523
The 'then' statement is equivalent to the 'else' statement.
Source code is
} 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);
insn->displacementSize = (hasOpSize ? 2 : 4);
insn->immediateSize = (hasOpSize ? 2 : 4);
}
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161009/e44a25d0/attachment.html>
More information about the llvm-bugs
mailing list