Index: src/contexts-inl.h |
diff --git a/src/contexts-inl.h b/src/contexts-inl.h |
index ce2c97be753f774d04bfa22cbd47707d6ded1b60..f2eb5462ac950d0e0485f629eb8e3d47bcbcd14c 100644 |
--- a/src/contexts-inl.h |
+++ b/src/contexts-inl.h |
@@ -124,6 +124,9 @@ bool Context::IsScriptContext() { |
return map == map->GetHeap()->script_context_map(); |
} |
+bool Context::OptimizedCodeMapIsCleared() { |
+ return osrd_function_table() == GetHeap()->empty_fixed_array(); |
+} |
bool Context::HasSameSecurityTokenAs(Context* that) { |
return this->native_context()->security_token() == |