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

Unified Diff: test/cctest/test-feedback-vector.cc

Issue 2642743002: Revert [TypeFeedbackVector] Root literal arrays in function literal slots (Closed)
Patch Set: Altered test for wasm. Created 3 years, 11 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-api.cc ('k') | test/mjsunit/strong-rooted-literals.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-feedback-vector.cc
diff --git a/test/cctest/test-feedback-vector.cc b/test/cctest/test-feedback-vector.cc
index 9a3e2563bccd6fae63e0d6975bd9a97b283647c7..8ff4997c0115a87aaf3291c5e5dd2fa42c0c5bb8 100644
--- a/test/cctest/test-feedback-vector.cc
+++ b/test/cctest/test-feedback-vector.cc
@@ -107,9 +107,7 @@ TEST(VectorStructure) {
FeedbackVectorSlotKind::CREATE_CLOSURE));
FeedbackVectorSlot slot = helper.slot(1);
FixedArray* array = FixedArray::cast(vector->Get(slot));
- CHECK_EQ(5, array->length());
- CHECK_EQ(5, vector->GetParameter(slot));
- CHECK_EQ(array->get(0), *factory->undefined_value());
+ CHECK_EQ(array, *factory->empty_literals_array());
}
}
« no previous file with comments | « test/cctest/test-api.cc ('k') | test/mjsunit/strong-rooted-literals.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698