mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 02:05:42 +00:00
Bug 1125701 - Fix -Wmaybe-uninitialized warnings in js/src/jit/arm/Assembler-arm.h. r=mrosenberg
This commit is contained in:
parent
231a4d7a81
commit
75d8e684f0
@ -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