Bug 681634 - Get m-c to build with static checking; fix verification scripts. r=taras
authorJoshua Cranmer <Pidgeot18@gmail.com>
Mon, 29 Aug 2011 17:02:22 -0700
changeset 77510 2642c7b0dc60937f33bb032da5f06516ee9c6d50
parent 77509 23962193053c143b22ca6cefd22e106d6e4cb48c
child 77511 31b79d4e90f45f9e8922098b109748029663db8b
child 77516 5f430b3d9aa4ac8c33a4123f3554a897d966a8ef
push id78
push userclegnitto@mozilla.com
push dateFri, 16 Dec 2011 17:32:24 +0000
treeherdermozilla-release@79d24e644fdd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstaras
bugs681634
milestone9.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 681634 - Get m-c to build with static checking; fix verification scripts. r=taras
layout/generic/frame-verify.js
--- a/layout/generic/frame-verify.js
+++ b/layout/generic/frame-verify.js
@@ -55,25 +55,25 @@ let haveIDs = {};
 
 // We match up needIDs with haveIDs at the end because static variables are
 // not present in the .members array of a type
 
 function process_tree_decl(d)
 {
   d = dehydra_convert(d);
   
-  if (d.name && frameIIDRE(d.name)) {
+  if (d.name && frameIIDRE.exec(d.name)) {
     haveIDs[d.memberOf.name] = 1;
   }
 }
 
 function process_cp_pre_genericize(d)
 {
   d = dehydra_convert(d);
-  if (queryFrameRE(d.name) && d.template === undefined) {
+  if (queryFrameRE.exec(d.name) && d.template === undefined) {
     let templtype = d.type.type.type;
     while (templtype.typedef !== undefined)
       templtype = templtype.typedef;
       
     needIDs.push([templtype.name, d.loc]);
   }
 }