mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 950716 - IonMonkey: Reorder struct fields for micro-efficiency. r=nbp
This commit is contained in:
parent
defffc1ead
commit
ae1e283247
@ -29,11 +29,11 @@ class BitSet : private TempObject
|
||||
|
||||
private:
|
||||
BitSet(unsigned int numBits) :
|
||||
numBits_(numBits),
|
||||
bits_(nullptr) {}
|
||||
bits_(nullptr),
|
||||
numBits_(numBits) {}
|
||||
|
||||
unsigned int numBits_;
|
||||
uint32_t *bits_;
|
||||
const unsigned int numBits_;
|
||||
|
||||
static inline uint32_t bitForValue(unsigned int value) {
|
||||
return 1l << uint32_t(value % BitsPerWord);
|
||||
|
@ -19,8 +19,8 @@ namespace jit {
|
||||
template <typename T>
|
||||
class FixedList
|
||||
{
|
||||
size_t length_;
|
||||
T *list_;
|
||||
size_t length_;
|
||||
|
||||
private:
|
||||
FixedList(const FixedList&); // no copy definition.
|
||||
|
Loading…
Reference in New Issue
Block a user