mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 474757 Several build failures on Solaris build for js/src r=danderson
This commit is contained in:
parent
2f6351583f
commit
9473943bf6
@ -165,9 +165,9 @@ namespace nanojit
|
|||||||
|
|
||||||
// Sun Studio requires explicitly declaring signed int bit-field
|
// Sun Studio requires explicitly declaring signed int bit-field
|
||||||
#if defined(__SUNPRO_C) || defined(__SUNPRO_CC)
|
#if defined(__SUNPRO_C) || defined(__SUNPRO_CC)
|
||||||
#define _sign_ signed
|
#define _sign_int signed int
|
||||||
#else
|
#else
|
||||||
#define _sign_
|
#define _sign_int int32_t
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Low-level Instruction 4B
|
// Low-level Instruction 4B
|
||||||
@ -187,7 +187,7 @@ namespace nanojit
|
|||||||
struct sti_type
|
struct sti_type
|
||||||
{
|
{
|
||||||
LOpcode code:8;
|
LOpcode code:8;
|
||||||
_sign_ int32_t disp:8;
|
_sign_int disp:8;
|
||||||
uint32_t oprnd_1:8; // 256 ins window and since they only point backwards this is sufficient.
|
uint32_t oprnd_1:8; // 256 ins window and since they only point backwards this is sufficient.
|
||||||
uint32_t oprnd_2:8;
|
uint32_t oprnd_2:8;
|
||||||
};
|
};
|
||||||
@ -205,7 +205,7 @@ namespace nanojit
|
|||||||
struct t_type
|
struct t_type
|
||||||
{
|
{
|
||||||
LOpcode code:8;
|
LOpcode code:8;
|
||||||
_sign_ int32_t imm24:24;
|
_sign_int imm24:24;
|
||||||
};
|
};
|
||||||
|
|
||||||
// imm16 form
|
// imm16 form
|
||||||
@ -213,7 +213,7 @@ namespace nanojit
|
|||||||
{
|
{
|
||||||
LOpcode code:8;
|
LOpcode code:8;
|
||||||
uint32_t resv:8; // cobberred during assembly
|
uint32_t resv:8; // cobberred during assembly
|
||||||
_sign_ int32_t imm16:16;
|
_sign_int imm16:16;
|
||||||
};
|
};
|
||||||
|
|
||||||
// overlay used during code generation ( note that last byte is reserved for allocation )
|
// overlay used during code generation ( note that last byte is reserved for allocation )
|
||||||
|
Loading…
Reference in New Issue
Block a user