From 96114f55fcc179001f4f836da6f0b7baa55ef51f Mon Sep 17 00:00:00 2001 From: Brian Hackett Date: Fri, 1 Mar 2013 17:08:18 -0700 Subject: [PATCH] Bug 834240 - Add missing setPendingNukeTypes, r=dvander. --- js/src/jsinfer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/js/src/jsinfer.cpp b/js/src/jsinfer.cpp index 5f9088bd568f..7fb2443c67e1 100644 --- a/js/src/jsinfer.cpp +++ b/js/src/jsinfer.cpp @@ -5253,6 +5253,7 @@ CheckNewScriptProperties(JSContext *cx, HandleTypeObject type, HandleFunction fu if (!state.baseobj) { if (type->newScript) type->clearNewScript(cx); + cx->compartment->types.setPendingNukeTypes(cx); return; }