[INFER] Fix broken test.
authorBrian Hackett <bhackett1024@gmail.com>
Tue, 02 Aug 2011 08:45:49 -0700
changeset 76091 8367a678afb6f638915d8e99070cc00ac37a941d
parent 76090 a82d5a5e070e069a9ffc53cd8868cb0ed38974c5
child 76092 afb8ed83d8345ef802a30cd72b2d4dfc08e96c78
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
milestone8.0a1
[INFER] Fix broken test.
js/src/jit-test/tests/jaeger/recompile/bug674391.js
--- a/js/src/jit-test/tests/jaeger/recompile/bug674391.js
+++ b/js/src/jit-test/tests/jaeger/recompile/bug674391.js
@@ -1,10 +1,11 @@
 a = [];
 for (var i = 0; i < 1000; i++) {
   a[i] = i;
 }
 function foo(x) {
   for (var i in x) {
   }
 }
-schedulegc(100);
+if (typeof schedulegc != "undefined")
+  schedulegc(100);
 foo(a);