mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
[JAEGER] Fixed a few warnings
This commit is contained in:
parent
8702c2649d
commit
fff17561b9
@ -102,7 +102,7 @@ class UpvarCookie
|
|||||||
uint32 asInteger() const { return value; }
|
uint32 asInteger() const { return value; }
|
||||||
/* isFree check should be performed before using these accessors. */
|
/* isFree check should be performed before using these accessors. */
|
||||||
uint16 level() const { JS_ASSERT(!isFree()); return value >> 16; }
|
uint16 level() const { JS_ASSERT(!isFree()); return value >> 16; }
|
||||||
uint16 slot() const { JS_ASSERT(!isFree()); return value; }
|
uint16 slot() const { JS_ASSERT(!isFree()); return uint16(value); }
|
||||||
|
|
||||||
void set(const UpvarCookie &other) { set(other.level(), other.slot()); }
|
void set(const UpvarCookie &other) { set(other.level(), other.slot()); }
|
||||||
void set(uint16 newLevel, uint16 newSlot) { value = (uint32(newLevel) << 16) | newSlot; }
|
void set(uint16 newLevel, uint16 newSlot) { value = (uint32(newLevel) << 16) | newSlot; }
|
||||||
|
@ -64,7 +64,7 @@ struct VMFrame
|
|||||||
/* This must be the first entry on CPUs which push return addresses. */
|
/* This must be the first entry on CPUs which push return addresses. */
|
||||||
void *scriptedReturn;
|
void *scriptedReturn;
|
||||||
|
|
||||||
#if defined(JS_CPU_X86) or defined(JS_CPU_X64)
|
#if defined(JS_CPU_X86) || defined(JS_CPU_X64)
|
||||||
uintptr_t padding;
|
uintptr_t padding;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user