Index: src/contexts.h |
diff --git a/src/contexts.h b/src/contexts.h |
index 9dc008589db61e3d9610600a82bdb915164a7edf..96b76bf315f0bdd35bf3ffb067b86dc06249dd03 100644 |
--- a/src/contexts.h |
+++ b/src/contexts.h |
@@ -567,14 +567,15 @@ |
// A native context keeps track of all osrd optimized functions. |
inline bool OptimizedCodeMapIsCleared(); |
- Code* SearchOptimizedCodeMap(SharedFunctionInfo* shared, |
- BailoutId osr_ast_id); |
+ void SearchOptimizedCodeMap(SharedFunctionInfo* shared, BailoutId osr_ast_id, |
+ Code** pcode, LiteralsArray** pliterals); |
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. |