Index: test/mjsunit/compiler/concurrent-invalidate-transition-map.js |
diff --git a/test/mjsunit/compiler/concurrent-invalidate-transition-map.js b/test/mjsunit/compiler/concurrent-invalidate-transition-map.js |
index 09e720627b350de5e817c7ec67af46a1306ec2fc..aed6311b83f53250eccf3f806195ebb4e0b2fdcf 100644 |
--- a/test/mjsunit/compiler/concurrent-invalidate-transition-map.js |
+++ b/test/mjsunit/compiler/concurrent-invalidate-transition-map.js |
@@ -42,6 +42,9 @@ function new_object() { |
} |
function add_field(obj) { |
+ // Assign twice to make the field non-constant. |
+ // TODO(ishell): update test once constant field tracking is done. |
+ obj.c = 0; |
obj.c = 3; |
} |
var obj1 = new_object(); |