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

Unified Diff: test/mjsunit/regress-ntl.js

Issue 2531983004: Cleanup: Move mjsunit/regress-*.js into mjsunit/regress/. (Closed)
Patch Set: Created 4 years, 1 month 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
Index: test/mjsunit/regress-ntl.js
diff --git a/test/mjsunit/regress-ntl.js b/test/mjsunit/regress-ntl.js
deleted file mode 100644
index 993599e552369a2964c26fade7dc594c1f9d0a20..0000000000000000000000000000000000000000
--- a/test/mjsunit/regress-ntl.js
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2014 the V8 project authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Flags: --allow-natives-syntax
-
-function mod1() {
- var v_1 = 1;
- var v_2 = 1;
- v_1++;
- v_2 = {valueOf: function() { throw "gagh"; }};
-
- function bug1() {
- for (var i = 0; i < 1; v_2++) {
- if (v_1 == 1) ;
- }
- }
-
- return bug1;
-}
-
-var f = mod1();
-assertThrows(f);
-%OptimizeFunctionOnNextCall(f);
-assertThrows(f);
-
-
-var v_3 = 1;
-var v_4 = 1;
-v_3++;
-v_4 = {valueOf: function() { throw "gagh"; }};
-
-function bug2() {
- for (var i = 0; i < 1; v_4++) {
- if (v_3 == 1) ;
- }
-}
-
-assertThrows(bug2);
-%OptimizeFunctionOnNextCall(bug2);
-assertThrows(bug2);
« no previous file with comments | « test/mjsunit/regress-keyed-store-non-strict-arguments.js ('k') | test/mjsunit/regress-sync-optimized-lists.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698