Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index f1fd3b9f13b2f04a279de5f1079cf0ce5f867af2..424b49693d66dd4edbfb9f7f84c25dbff24af7fd 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -6661,8 +6661,9 @@ class SharedFunctionInfo: public HeapObject { |
// Clear optimized code map. |
void ClearOptimizedCodeMap(); |
- // Removed a specific optimized code object from the optimized code map. |
- void EvictFromOptimizedCodeMap(Code* optimized_code, const char* reason); |
+ // Removed code objects associated to the given native context from |
+ // the optimized code map. |
+ void EvictFromOptimizedCodeMap(Context* context, const char* reason); |
// Trims the optimized code map after entries have been removed. |
void TrimOptimizedCodeMap(int shrink_by); |