Index: test/mjsunit/compiler/regress-crbug-540593.js |
diff --git a/test/mjsunit/compiler/regress-crbug-540593.js b/test/mjsunit/compiler/regress-crbug-540593.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ec68e857711bf46d9e064398ac940e85d939e9f8 |
--- /dev/null |
+++ b/test/mjsunit/compiler/regress-crbug-540593.js |
@@ -0,0 +1,14 @@ |
+// Copyright 2015 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 --enable-slow-asserts --turbo-inlining |
+ |
+var __f_2 = (function(stdlib) { |
+ "use asm"; |
+ var __v_3 = stdlib.Symbol; |
+ function __f_2() { return __v_3(); } |
+ return __f_2; |
+})(this); |
+%OptimizeFunctionOnNextCall(__f_2); |
+__f_2(); |