Index: test/mjsunit/regress/regress-3501.js |
diff --git a/test/mjsunit/compiler/regress-445732.js b/test/mjsunit/regress/regress-3501.js |
similarity index 51% |
copy from test/mjsunit/compiler/regress-445732.js |
copy to test/mjsunit/regress/regress-3501.js |
index 199a29a5f859dbe2e5d63c3cc6cfa06a76b0be99..4b449e458f545b5758a8a3ca579be1913becc29a 100644 |
--- a/test/mjsunit/compiler/regress-445732.js |
+++ b/test/mjsunit/regress/regress-3501.js |
@@ -2,10 +2,10 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// Flags: --allow-natives-syntax --turbo-asm |
+// Flags: --harmony-arrow-functions |
-"use asm"; |
+// See: http://code.google.com/p/v8/issues/detail?id=3501 |
-%NeverOptimizeFunction(f); |
-function f() { } |
-f(); |
+"use strict"; |
+let lift = f => (x, k) => k (f (x)); |
+lift(isNaN); |