| Index: test/cctest/test-compiler.cc
|
| diff --git a/test/cctest/test-compiler.cc b/test/cctest/test-compiler.cc
|
| index ed8b1c6d998c0d1f8aabc172d73ba3f9da1d87ab..56ca78de6f392c222513b0188f61c39878bccb6f 100644
|
| --- a/test/cctest/test-compiler.cc
|
| +++ b/test/cctest/test-compiler.cc
|
| @@ -310,10 +310,10 @@ TEST(FeedbackVectorPreservedAcrossRecompiles) {
|
|
|
| // Verify that we gathered feedback.
|
| int expected_slots = 0;
|
| - int expected_ic_slots = 1;
|
| + int expected_ic_slots = 2;
|
| CHECK_EQ(expected_slots, feedback_vector->Slots());
|
| CHECK_EQ(expected_ic_slots, feedback_vector->ICSlots());
|
| - FeedbackVectorICSlot slot_for_a(0);
|
| + FeedbackVectorICSlot slot_for_a(1);
|
| Object* object = feedback_vector->Get(slot_for_a);
|
| CHECK(object->IsWeakCell() &&
|
| WeakCell::cast(object)->value()->IsJSFunction());
|
| @@ -362,7 +362,7 @@ TEST(FeedbackVectorUnaffectedByScopeChanges) {
|
| // Now a feedback vector is allocated.
|
| CHECK(f->shared()->is_compiled());
|
| int expected_slots = 0;
|
| - int expected_ic_slots = FLAG_vector_ics ? 2 : 1;
|
| + int expected_ic_slots = FLAG_vector_ics ? 3 : 2;
|
| CHECK_EQ(expected_slots, f->shared()->feedback_vector()->Slots());
|
| CHECK_EQ(expected_ic_slots, f->shared()->feedback_vector()->ICSlots());
|
| }
|
|
|