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