Backout 01a5ce645a8b, 6e849614a79f & bd75f26eee25 (bug 720759) for win debug build failures

This commit is contained in:
Ed Morley
2012-01-24 21:06:59 +00:00
parent a873ee4553
commit 7ccc51c695
12 changed files with 54 additions and 95 deletions

View File

@@ -3132,12 +3132,12 @@ array_indexOfHelper(JSContext *cx, IndexOfKind mode, CallArgs &args)
return JS_FALSE;
}
if (!hole) {
bool equal;
JSBool equal;
if (!StrictlyEqual(cx, elt, tosearch, &equal))
return false;
return JS_FALSE;
if (equal) {
args.rval().setNumber(i);
return true;
return JS_TRUE;
}
}
if (i == stop)