Revision: 12592
Author: [email protected]
Date: Mon Sep 24 03:07:09 2012
Log: Speed up test/mjsunit/compiler/regress-gvn
Review URL: https://codereview.chromium.org/10956059
http://code.google.com/p/v8/source/detail?r=12592
Modified:
/branches/bleeding_edge/test/mjsunit/compiler/regress-gvn.js
/branches/bleeding_edge/test/mjsunit/mjsunit.status
=======================================
--- /branches/bleeding_edge/test/mjsunit/compiler/regress-gvn.js Fri Mar 18
12:41:05 2011
+++ /branches/bleeding_edge/test/mjsunit/compiler/regress-gvn.js Mon Sep 24
03:07:09 2012
@@ -25,7 +25,7 @@
// (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: --noalways-opt
+// Flags: --noalways-opt --allow-natives-syntax
//
// Regression test for global value numbering.
@@ -39,10 +39,11 @@
var a = new Array();
-var n = 100000000;
+var n = 100;
var result = 0;
for (var i = 0; i < n; ++i) {
+ if (i == 10) %OptimizeFunctionOnNextCall(test);
a[0] = 0;
result += test(a);
}
=======================================
--- /branches/bleeding_edge/test/mjsunit/mjsunit.status Mon Sep 24 03:03:49
2012
+++ /branches/bleeding_edge/test/mjsunit/mjsunit.status Mon Sep 24 03:07:09
2012
@@ -103,7 +103,6 @@
compiler/recursive-deopt: SKIP
compiler/regress-4: SKIP
compiler/regress-funcaller: SKIP
-compiler/regress-gvn: SKIP
compiler/regress-rep-change: SKIP
compiler/regress-arguments: SKIP
compiler/regress-funarguments: SKIP
@@ -161,7 +160,6 @@
compiler/recursive-deopt: SKIP
compiler/regress-4: SKIP
compiler/regress-funcaller: SKIP
-compiler/regress-gvn: SKIP
compiler/regress-rep-change: SKIP
compiler/regress-arguments: SKIP
compiler/regress-funarguments: SKIP
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev