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

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

Issue 2672363002: Link type feedback vectors to the shared function info. (Closed)
Patch Set: rebase 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-feedback-vector.h ('k') | no next file » | 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 093970e41ad07d2a00b12a9ed06823870823fe26..0396e76c52e07a4431efd23065ca6716bcedb2a8 100644
--- a/test/cctest/test-feedback-vector.cc
+++ b/test/cctest/test-feedback-vector.cc
@@ -38,13 +38,7 @@ TEST(VectorStructure) {
Factory* factory = isolate->factory();
Zone zone(isolate->allocator(), ZONE_NAME);
- // Empty vectors are the empty fixed array.
- StaticFeedbackVectorSpec empty;
- Handle<FeedbackVector> vector = NewFeedbackVector(isolate, &empty);
- CHECK(Handle<FixedArray>::cast(vector).is_identical_to(
- factory->empty_feedback_vector()));
- // Which can nonetheless be queried.
- CHECK(vector->is_empty());
+ Handle<FeedbackVector> vector;
{
FeedbackVectorSpec one_slot(&zone);
« no previous file with comments | « test/cctest/test-feedback-vector.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698