Revision: 12593
Author:   [email protected]
Date:     Mon Sep 24 03:08:01 2012
Log:      Speed up test/mjsunit/compiler/regress-or

Review URL: https://codereview.chromium.org/10969063
http://code.google.com/p/v8/source/detail?r=12593

Modified:
 /branches/bleeding_edge/test/mjsunit/compiler/regress-or.js
 /branches/bleeding_edge/test/mjsunit/mjsunit.status

=======================================
--- /branches/bleeding_edge/test/mjsunit/compiler/regress-or.js Fri Mar 18 12:41:05 2011 +++ /branches/bleeding_edge/test/mjsunit/compiler/regress-or.js Mon Sep 24 03:08:01 2012
@@ -25,6 +25,8 @@
 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

+// Flags: --allow-natives-syntax
+
 // Test deoptimization inside short-circuited expressions.
 function f1(x) {
   var c = "fail";
@@ -36,7 +38,8 @@

 function g1() { try { return 1; } finally {} }

-for (var i=0; i<10000000; i++) f1(42);
+for (var i = 0; i < 5; i++) f1(42);
+%OptimizeFunctionOnNextCall(f1);

 assertEquals(-1, f1(0));
 assertEquals(-43, f1(42));
@@ -52,6 +55,7 @@

 function g2() { try { return 0; } finally {} }

-for (var i=0; i<10000000; i++) f2(42);
+for (var i = 0; i < 5; i++) f2(42);
+%OptimizeFunctionOnNextCall(f2);

 assertEquals(-1, f2(""));
=======================================
--- /branches/bleeding_edge/test/mjsunit/mjsunit.status Mon Sep 24 03:07:09 2012 +++ /branches/bleeding_edge/test/mjsunit/mjsunit.status Mon Sep 24 03:08:01 2012
@@ -106,7 +106,6 @@
 compiler/regress-rep-change: SKIP
 compiler/regress-arguments: SKIP
 compiler/regress-funarguments: SKIP
-compiler/regress-or: SKIP
 compiler/regress-3249650: SKIP
 compiler/simple-deopt: SKIP
 regress/regress-490: SKIP
@@ -163,7 +162,6 @@
 compiler/regress-rep-change: SKIP
 compiler/regress-arguments: SKIP
 compiler/regress-funarguments: SKIP
-compiler/regress-or: SKIP
 compiler/regress-3249650: SKIP
 compiler/simple-deopt: SKIP
 regress/regress-490: SKIP

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to