зеркало из https://github.com/mozilla/gecko-dev.git
Make sure to flush the JIT cache after a gc even if we didn't import globals (464418, r=brendan, 2nd attempt to push).
This commit is contained in:
Родитель
47fc0b6b95
Коммит
e8f1449645
|
@ -2695,7 +2695,7 @@ static inline bool
|
|||
js_CheckGlobalObjectShape(JSContext* cx, JSTraceMonitor* tm, JSObject* globalObj)
|
||||
{
|
||||
/* Check the global shape. */
|
||||
if (tm->globalSlots->length() && (OBJ_SHAPE(globalObj) != tm->globalShape)) {
|
||||
if (OBJ_SHAPE(globalObj) != tm->globalShape) {
|
||||
AUDIT(globalShapeMismatchAtEntry);
|
||||
debug_only_v(printf("Global shape mismatch (%u vs. %u), flushing cache.\n",
|
||||
OBJ_SHAPE(globalObj), tm->globalShape);)
|
||||
|
|
Загрузка…
Ссылка в новой задаче