Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Unified Diff: test/cctest/test-feedback-vector.h

Issue 2652893010: Interpreter tester should accept metadata instead of a vector (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/cctest/interpreter/test-interpreter.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « test/cctest/interpreter/test-interpreter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698