mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1125701 - Fix -Wmaybe-uninitialized warnings in js/src/jit/arm/Assembler-arm.h. r=mrosenberg
This commit is contained in:
parent
38e4935e31
commit
c681ce75a8
@ -1845,12 +1845,14 @@ class Instruction
|
||||
data = src.data;
|
||||
return *this;
|
||||
}
|
||||
|
||||
// Since almost all instructions have condition codes, the condition code
|
||||
// extractor resides in the base class.
|
||||
void extractCond(Assembler::Condition *c) {
|
||||
if (data >> 28 != 0xf )
|
||||
*c = (Assembler::Condition)(data & 0xf0000000);
|
||||
MOZ_ASSERT(data >> 28 != 0xf, "Instruction must have a condition code");
|
||||
*c = (Assembler::Condition)(data & 0xf0000000);
|
||||
}
|
||||
|
||||
// Get the next instruction in the instruction stream.
|
||||
// This does neat things like ignoreconstant pools and their guards.
|
||||
Instruction *next();
|
||||
|
Loading…
Reference in New Issue
Block a user