Searched refs:ScriptCache (Results 1 – 2 of 2) sorted by relevance
165 class ScriptCache : private HashMap {167 ScriptCache() : HashMap(ScriptMatch), collected_scripts_(10) {} in ScriptCache() function168 virtual ~ScriptCache() { Clear(); } in ~ScriptCache()483 ScriptCache* script_cache_;
600 void ScriptCache::Add(Handle<Script> script) { in Add()619 ScriptCache::HandleWeakScript); in Add()624 Handle<FixedArray> ScriptCache::GetScripts() { in GetScripts()638 void ScriptCache::ProcessCollectedScripts() { in ProcessCollectedScripts()647 void ScriptCache::Clear() { in Clear()662 void ScriptCache::HandleWeakScript(v8::Persistent<v8::Value> obj, void* data) { in HandleWeakScript()663 ScriptCache* script_cache = reinterpret_cast<ScriptCache*>(data); in HandleWeakScript()2273 script_cache_ = new ScriptCache(); in CreateScriptCache()