Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(454)

Unified Diff: test/mjsunit/regress/regress-634-debug.js

Issue 185653004: Experimental parser: merge to r19637 (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/regress/regress-490.js ('k') | test/mjsunit/regress/regress-array-pop-deopt.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-634-debug.js
diff --git a/test/mjsunit/regress/regress-2451.js b/test/mjsunit/regress/regress-634-debug.js
similarity index 88%
copy from test/mjsunit/regress/regress-2451.js
copy to test/mjsunit/regress/regress-634-debug.js
index c1749b178f3eedf648f5ff81911ec126a0364702..17ca828c68cd4de35f6bf0608a980fe1adebb355 100644
--- a/test/mjsunit/regress/regress-2451.js
+++ b/test/mjsunit/regress/regress-634-debug.js
@@ -1,4 +1,4 @@
-// Copyright 2013 the V8 project authors. All rights reserved.
+// Copyright 2014 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
@@ -28,13 +28,14 @@
// Flags: --allow-natives-syntax
function f() {
- assertEquals(-1.0, Math.round(-1.5));
- assertEquals(-2.0, Math.round(-2.5));
- assertEquals(-1.0, Math.round(-0.5000000000000001));
+ %SetAllocationTimeout(1, 0, false);
+ a = new Array(0);
+ assertEquals(0, a.length);
+ assertEquals(0, a.length);
+ %SetAllocationTimeout(-1, -1, true);
}
f();
f();
%OptimizeFunctionOnNextCall(f);
f();
-assertOptimized(f);
« no previous file with comments | « test/mjsunit/regress/regress-490.js ('k') | test/mjsunit/regress/regress-array-pop-deopt.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698