Closed Bug 1395131 Opened 7 years ago Closed 7 years ago

-Werror,-Wenum-compare-switch in IsXMMReversedOperands

Categories

(Core :: JavaScript Engine: JIT, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1390214
Tracking Status
firefox57 --- affected

People

(Reporter: Sylvestre, Unassigned)

Details

clang trunk is complaining about the following declaration https://dxr.mozilla.org/mozilla-central/source/js/src/jit/x86-shared/Encoding-x86-shared.h?q=case+OP3_PEXTRD_EdVdqIb%3A&redirect_type=single#318

with:
/home/sylvestre/dev/mozilla/mozilla-central.hg/js/src/jit/x86-shared/Encoding-x86-shared.h:318:12: error: comparison of two values with different enumeration types in switch statement ('js::jit::X86Encoding::TwoByteOpcodeID' and 'js::jit::X86Encoding::ThreeByteOpcodeID') [-Werror,-Wenum-compare-switch]
 0:05.32       case OP3_PEXTRD_EdVdqIb:

Don't think it is a big deal, maybe we just want to ignore this warning on this file.
Dan, what do you think?
Flags: needinfo?(sunfish)
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(sunfish)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.