зеркало из https://github.com/mozilla/pjs.git
Bug 698923 - Don't require 16 bytes alignment for VMFrame on sparc. r=luke
This commit is contained in:
Родитель
31316051e2
Коммит
39e3d9e751
|
@ -253,7 +253,7 @@ JS_STATIC_ASSERT(offsetof(FrameRegs, sp) == 0);
|
|||
#if defined(__GNUC__) && !defined(_WIN64)
|
||||
|
||||
/* If this assert fails, you need to realign VMFrame to 16 bytes. */
|
||||
#if defined(JS_CPU_ARM) || defined(JS_CPU_MIPS)
|
||||
#if defined(JS_CPU_ARM) || defined(JS_CPU_MIPS) || defined(JS_CPU_SPARC)
|
||||
JS_STATIC_ASSERT(sizeof(VMFrame) % 8 == 0);
|
||||
#else
|
||||
JS_STATIC_ASSERT(sizeof(VMFrame) % 16 == 0);
|
||||
|
|
Загрузка…
Ссылка в новой задаче