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

Unified Diff: src/contexts.h

Issue 2504153002: [TypeFeedbackVector] Root literal arrays in function literals slots (Closed)
Patch Set: REBASE. Created 4 years 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 d1c5ae91bf663ff4c723c37be3fb207a4514ae3f..546b9fbfe756d75022a260ca5518fe981a765b52 100644
--- a/src/contexts.h
+++ b/src/contexts.h
@@ -570,15 +570,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, LiteralsArray** pliterals);
+ 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<LiteralsArray> literals,
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