fix debug build bustage from Bug 559408.

This commit is contained in:
Robert Sayre 2010-05-11 08:40:08 -04:00
Родитель 90520649c3
Коммит e4ae828674
1 изменённых файлов: 2 добавлений и 0 удалений

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

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