Bug 850548 - fix ion::StackAlignment value on non-GNU (r=dvander)

--HG--
extra : rebase_source : 424e4aa6cdd104b0c7f47b9c6495f45c770d155f
This commit is contained in:
Luke Wagner 2013-03-13 20:59:51 -07:00
Родитель 286283fc62
Коммит 5be9835d4a
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -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