Index: test/cctest/test-feedback-vector.h |
diff --git a/test/cctest/test-feedback-vector.h b/test/cctest/test-feedback-vector.h |
index 6817a266aaaedec15deb80cb5a511119257dfa1e..ed7afd0f1c15dc5fd180d6f8eeb7c23921f8102b 100644 |
--- a/test/cctest/test-feedback-vector.h |
+++ b/test/cctest/test-feedback-vector.h |
@@ -46,6 +46,11 @@ Handle<TypeFeedbackVector> NewTypeFeedbackVector(Isolate* isolate, Spec* spec) { |
return TypeFeedbackVector::New(isolate, metadata); |
} |
+template <typename Spec> |
+Handle<TypeFeedbackMetadata> NewTypeFeedbackMetadata(Isolate* isolate, |
+ Spec* spec) { |
+ return TypeFeedbackMetadata::New(isolate, spec); |
+} |
} // namespace internal |
} // namespace v8 |