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

Unified Diff: src/contexts.h

Issue 2674593003: [TypeFeedbackVector] Root feedback vectors at function literal site. (Closed)
Patch Set: REBASE. 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/contexts.h
diff --git a/src/contexts.h b/src/contexts.h
index 4b32281b75d6f57783474e3ae84ca5e16360dc52..2df200eec63a7bf62cf2cb85858146c5cd5df189 100644
--- a/src/contexts.h
+++ b/src/contexts.h
@@ -575,15 +575,14 @@ class Context: public FixedArray {
// A native context keeps track of all osrd optimized functions.
inline bool OptimizedCodeMapIsCleared();
- void SearchOptimizedCodeMap(SharedFunctionInfo* shared, BailoutId osr_ast_id,
- Code** pcode, TypeFeedbackVector** pvector);
+ Code* SearchOptimizedCodeMap(SharedFunctionInfo* shared,
+ BailoutId osr_ast_id);
int SearchOptimizedCodeMapEntry(SharedFunctionInfo* shared,
BailoutId osr_ast_id);
static void AddToOptimizedCodeMap(Handle<Context> native_context,
Handle<SharedFunctionInfo> shared,
Handle<Code> code,
- Handle<TypeFeedbackVector> vector,
BailoutId osr_ast_id);
// A native context holds a list of all functions with optimized code.

Powered by Google App Engine
This is Rietveld 408576698