Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 692df446e262460e0f52f4dc899612f1d43451ad..9c3d0f81fc243126c447e6ba29d601266e70a537 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -5227,6 +5227,10 @@ class SharedFunctionInfo: public HeapObject { |
// Returns -1 when no matching entry is found. |
int SearchOptimizedCodeMap(Context* global_context); |
+ // Installs optimized code from the code map on the given closure. The |
+ // index has to be consistent with a search result as defined above. |
+ void InstallFromOptimizedCodeMap(JSFunction* function, int index); |
+ |
// Clear optimized code map. |
void ClearOptimizedCodeMap(); |