| Index: src/contexts.h
|
| diff --git a/src/contexts.h b/src/contexts.h
|
| index 8a10bd997041013b29b0b7aaeff5db81f98fe626..8bd3230c5183c36ab7486207a7d68e38085385cc 100644
|
| --- a/src/contexts.h
|
| +++ b/src/contexts.h
|
| @@ -574,14 +574,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.
|
|
|