Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 2001b3dfaf41615dfc27972050127eb57f865722..2453e54ba362bd164c2190b1488580338ea9eb6b 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -3057,8 +3057,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()); |