Index: test/mjsunit/regress/regress-365172-2.js |
diff --git a/test/mjsunit/regress/regress-365172-2.js b/test/mjsunit/regress/regress-365172-2.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..265901c5c0bc195e1a4d3f1a3d50bfce31397c6f |
--- /dev/null |
+++ b/test/mjsunit/regress/regress-365172-2.js |
@@ -0,0 +1,13 @@ |
+// Copyright 2014 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 --track-field-types |
+ |
+var b1 = {d: 1}; var b2 = {d: 2}; |
+var f1 = {x: 1}; var f2 = {x: 2}; |
+f1.b = b1; |
+f2.x = {}; |
+b2.d = 4.2; |
+f2.b = b2; |
+%TryMigrateInstance(f1); |