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

Unified Diff: src/type-feedback-vector.h

Issue 2627783008: [ignition] Create the type feedback vector after bytecode generation (Closed)
Patch Set: Extract common functionality to static method on TypeFeedbackMetadata 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
Index: src/type-feedback-vector.h
diff --git a/src/type-feedback-vector.h b/src/type-feedback-vector.h
index c9eae023a867951103cf4dc76e4a4d8decdb0260..3f896226e81ca16fca150502117789dcd729777c 100644
--- a/src/type-feedback-vector.h
+++ b/src/type-feedback-vector.h
@@ -217,6 +217,11 @@ class TypeFeedbackMetadata : public FixedArray {
template <typename Spec>
static Handle<TypeFeedbackMetadata> New(Isolate* isolate, const Spec* spec);
+ // Ensure that the given shared function info has type feedback metadata with
+ // the given spec.
+ static void EnsureAllocated(Isolate* isolate, Handle<SharedFunctionInfo> sfi,
+ const FeedbackVectorSpec* spec);
+
#ifdef OBJECT_PRINT
// For gdb debugging.
void Print();

Powered by Google App Engine
This is Rietveld 408576698