Bug 895654 - Remove references to Unrooted from the static exact rooting analysis; r=bhackett,sfink,terrence
authorTerrence Cole <terrence@mozilla.com>
Thu, 18 Jul 2013 15:12:46 -0700
changeset 151548 553e2e6743928fe7dd299cde02344b5947b86967
parent 151547 4bbb18b109d4f43a0f4c05908edc2a1109b6eb72
child 151549 e0dd0605ba1cf443752e8c59a5389b357f932a59
push id2859
push userakeybl@mozilla.com
push dateMon, 16 Sep 2013 19:14:59 +0000
treeherdermozilla-beta@87d3c51cd2bf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbhackett, sfink, terrence
bugs895654
milestone25.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 895654 - Remove references to Unrooted from the static exact rooting analysis; r=bhackett,sfink,terrence DONTBUILD
js/src/devtools/rootAnalysis/annotations.js
--- a/js/src/devtools/rootAnalysis/annotations.js
+++ b/js/src/devtools/rootAnalysis/annotations.js
@@ -89,20 +89,16 @@ function ignoreEdgeUse(edge, variable)
 {
     // Functions which should not be treated as using variable.
     if (edge.Kind == "Call") {
         var callee = edge.Exp[0];
         if (callee.Kind == "Var") {
             var name = callee.Variable.Name[0];
             if (/~Anchor/.test(name))
                 return true;
-            if (/::Unrooted\(\)/.test(name))
-                return true;
-            if (/::~Unrooted\(\)/.test(name))
-                return true;
             if (/~DebugOnly/.test(name))
                 return true;
         }
     }
 
     return false;
 }