mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1204168 - Add the js::ProfileEntry::setCategory method; r=djvj
This commit is contained in:
parent
e9a2668b96
commit
f495dd4417
@ -126,9 +126,14 @@ class ProfileEntry
|
||||
uint32_t flags() const volatile {
|
||||
return flags_;
|
||||
}
|
||||
|
||||
uint32_t category() const volatile {
|
||||
return flags_ & CATEGORY_MASK;
|
||||
}
|
||||
void setCategory(Category c) volatile {
|
||||
flags_ &= ~CATEGORY_MASK;
|
||||
setFlag(static_cast<uint32_t>(c));
|
||||
}
|
||||
|
||||
void setOSR() volatile {
|
||||
MOZ_ASSERT(isJs());
|
||||
|
Loading…
Reference in New Issue
Block a user