Index: src/contexts.h |
diff --git a/src/contexts.h b/src/contexts.h |
index 79f2e1356bebbf7e5196b03e4e86c6580e8fd059..e419913f90c786c6db03f3b78ce50517eac65767 100644 |
--- a/src/contexts.h |
+++ b/src/contexts.h |
@@ -572,14 +572,15 @@ class Context: public FixedArray { |
// 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. |