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(); |