Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 059fd8fc3a28ccd3343292e2504d16ceba1ab46d..3157f3e538515b7f29d95afb47bd69bd1d4ed8b4 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -2855,8 +2855,7 @@ TEST(IncrementalMarkingClearsTypeFeedbackInfo) { |
*v8::Handle<v8::Function>::Cast( |
CcTest::global()->Get(v8_str("f")))); |
- Handle<FixedArray> feedback_vector(TypeFeedbackInfo::cast( |
- f->shared()->code()->type_feedback_info())->feedback_vector()); |
+ Handle<FixedArray> feedback_vector(f->shared()->feedback_vector()); |
CHECK_EQ(2, feedback_vector->length()); |
CHECK(feedback_vector->get(0)->IsJSFunction()); |