Revision: 9987
Author: [email protected]
Date: Mon Nov 14 04:33:44 2011
Log: Speedup unit test to avoid timeout on slow ARM simulator.
This test depends on OSR being triggered. That's why I can't
use %OptimizeFunctionOnNextCall.
Review URL: http://codereview.chromium.org/8555004
http://code.google.com/p/v8/source/detail?r=9987
Modified:
/branches/bleeding_edge/test/mjsunit/compiler/regress-deopt-call-as-function.js
=======================================
---
/branches/bleeding_edge/test/mjsunit/compiler/regress-deopt-call-as-function.js
Mon Oct 24 06:53:08 2011
+++
/branches/bleeding_edge/test/mjsunit/compiler/regress-deopt-call-as-function.js
Mon Nov 14 04:33:44 2011
@@ -32,7 +32,7 @@
function test_context() {
function foo(x) { return 42; }
var s, t;
- for (var i = 0x7ff00000; i < 0x80000000; i++) {
+ for (var i = 0x7fff0000; i < 0x80000000; i++) {
bar(t = foo(i) ? bar(42 + i - i) : bar(0), s = i + t);
}
return s;
@@ -43,7 +43,7 @@
function value_context() {
function foo(x) { return 42; }
var s, t;
- for (var i = 0x7ff00000; i < 0x80000000; i++) {
+ for (var i = 0x7fff0000; i < 0x80000000; i++) {
bar(t = foo(i), s = i + t);
}
return s;
@@ -54,7 +54,7 @@
function effect_context() {
function foo(x) { return 42; }
var s, t;
- for (var i = 0x7ff00000; i < 0x80000000; i++) {
+ for (var i = 0x7fff0000; i < 0x80000000; i++) {
bar(foo(i), s = i + 42);
}
return s;
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev