Bug 951497 - Bustage fix. a=bustage
authorRyan VanderMeulen <ryanvm@gmail.com>
Thu, 02 Jan 2014 19:30:47 -0500
changeset 175508 5f4b72d2478f0fbb6b2a125aad6a1deace133e79
parent 175507 9b1fc11fc88321dba1d388a0bdd30e84f6acbff0
child 175509 d6ef9d508b9a9fbce4ba26c94fc05722acc2fd35
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs951497
milestone28.0a2
Bug 951497 - Bustage fix. a=bustage CLOSED TREE
js/src/jsinfer.cpp
--- a/js/src/jsinfer.cpp
+++ b/js/src/jsinfer.cpp
@@ -1016,20 +1016,20 @@ CheckDefinitePropertiesTypeSet(JSContext
 void
 types::FinishDefinitePropertiesAnalysis(JSContext *cx, CompilerConstraintList *constraints)
 {
     for (size_t i = 0; i < constraints->numFrozenScripts(); i++) {
         const CompilerConstraintList::FrozenScript &entry = constraints->frozenScript(i);
         JS_ASSERT(entry.script->types);
 
         CheckDefinitePropertiesTypeSet(cx, entry.thisTypes, types::TypeScript::ThisTypes(entry.script));
-        unsigned nargs = entry.script->function() ? entry.script->function()->nargs() : 0;
+        unsigned nargs = entry.script->function() ? entry.script->function()->nargs : 0;
         for (size_t i = 0; i < nargs; i++)
             CheckDefinitePropertiesTypeSet(cx, &entry.argTypes[i], types::TypeScript::ArgTypes(entry.script, i));
-        for (size_t i = 0; i < entry.script->nTypeSets(); i++)
+        for (size_t i = 0; i < entry.script->nTypeSets; i++)
             CheckDefinitePropertiesTypeSet(cx, &entry.bytecodeTypes[i], &entry.script->types->typeArray()[i]);
     }
 }
 
 namespace {
 
 // Constraint which triggers recompilation of a script if any type is added to a type set. */
 class ConstraintDataFreeze