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

Unified Diff: test/mjsunit/compiler/concurrent-invalidate-transition-map.js

Issue 2598543003: [runtime][ic] Constant field tracking support. (Closed)
Patch Set: Addressing comments 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 | « test/cctest/test-unboxed-doubles.cc ('k') | test/mjsunit/field-type-tracking.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « test/cctest/test-unboxed-doubles.cc ('k') | test/mjsunit/field-type-tracking.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698