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

Unified Diff: test/mjsunit/compiler/regress-crbug-540593.js

Issue 1395453002: [turbofan] Don't try to inline non-inlineable functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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 | « src/compiler/js-inlining.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « src/compiler/js-inlining.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698