зеркало из https://github.com/mozilla/gecko-dev.git
fix debug build bustage from Bug 559408.
This commit is contained in:
Родитель
90520649c3
Коммит
e4ae828674
|
@ -241,7 +241,9 @@ class JSArenaPool {
|
|||
* |p| must be |a->base| for the arena |a| that contains |p|.
|
||||
*/
|
||||
JSArena ***ptrToHeader(void *p) const {
|
||||
#ifdef JS_ALIGN_OF_POINTER
|
||||
JS_ASSERT((jsuword(p) & headerBaseMask()) == 0);
|
||||
#endif
|
||||
return (JSArena ***)(p) - 1;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче