зеркало из https://github.com/mozilla/gecko-dev.git
Bug 850548 - fix ion::StackAlignment value on non-GNU (r=dvander)
--HG-- extra : rebase_source : 424e4aa6cdd104b0c7f47b9c6495f45c770d155f
This commit is contained in:
Родитель
286283fc62
Коммит
5be9835d4a
|
@ -66,7 +66,11 @@ static const Register PreBarrierReg = edx;
|
||||||
|
|
||||||
// GCC stack is aligned on 16 bytes, but we don't maintain the invariant in
|
// GCC stack is aligned on 16 bytes, but we don't maintain the invariant in
|
||||||
// jitted code.
|
// jitted code.
|
||||||
|
#if defined(__GNUC__)
|
||||||
static const uint32_t StackAlignment = 16;
|
static const uint32_t StackAlignment = 16;
|
||||||
|
#else
|
||||||
|
static const uint32_t StackAlignment = 4;
|
||||||
|
#endif
|
||||||
static const bool StackKeptAligned = false;
|
static const bool StackKeptAligned = false;
|
||||||
|
|
||||||
struct ImmTag : public Imm32
|
struct ImmTag : public Imm32
|
||||||
|
|
Загрузка…
Ссылка в новой задаче