diff --git a/src/codegen/compilation-cache.cc b/src/codegen/compilation-cache.cc index fc054f6b5b..f299e5c20a 100644 --- a/src/codegen/compilation-cache.cc +++ b/src/codegen/compilation-cache.cc @@ -105,41 +105,6 @@ void CompilationSubCache::Remove(Handle function_info) { CompilationCacheScript::CompilationCacheScript(Isolate* isolate) : CompilationSubCache(isolate, 1) {} -namespace { - -// We only re-use a cached function for some script source code if the -// script originates from the same place. This is to avoid issues -// when reporting errors, etc. -bool HasOrigin(Isolate* isolate, Handle function_info, - const ScriptDetails& script_details) { - Handle