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

Unified Diff: test/mjsunit/compiler/escape-analysis-13.js

Issue 2680973013: [turbofan] extend escape analysis to reduce CheckMaps (Closed)
Patch Set: staged behind new flag --turbo-experimental Created 3 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 | « src/flag-definitions.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/compiler/escape-analysis-13.js
diff --git a/test/mjsunit/compiler/escape-analysis-13.js b/test/mjsunit/compiler/escape-analysis-13.js
new file mode 100644
index 0000000000000000000000000000000000000000..b1334f1f2791a937001141012a47da2a1cde621c
--- /dev/null
+++ b/test/mjsunit/compiler/escape-analysis-13.js
@@ -0,0 +1,17 @@
+// Copyright 2017 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 --turbo --turbo-escape --turbo-experimental
+
+function f() {
+ var x = {};
+ x.a = "a";
+ x.b = "b";
+ assertEquals("a", x.a);
+ assertEquals("b", x.b);
+}
+f();
+f();
+% OptimizeFunctionOnNextCall(f);
+f();
« no previous file with comments | « src/flag-definitions.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698