From 2cf6c8816a73e0132bd8fa3b509d62d7c51b6e47 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Mon, 7 May 2012 11:21:11 +0200 Subject: Imported WebKit commit 7e538425aa020340619e927792f3d895061fb54b (http://svn.webkit.org/repository/webkit/trunk@116286) --- Source/JavaScriptCore/debugger/Debugger.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/JavaScriptCore/debugger/Debugger.cpp') diff --git a/Source/JavaScriptCore/debugger/Debugger.cpp b/Source/JavaScriptCore/debugger/Debugger.cpp index 13d6ad8f3..ede8a9ba2 100644 --- a/Source/JavaScriptCore/debugger/Debugger.cpp +++ b/Source/JavaScriptCore/debugger/Debugger.cpp @@ -67,7 +67,7 @@ inline void Recompiler::operator()(JSCell* cell) if (!cell->inherits(&JSFunction::s_info)) return; - JSFunction* function = asFunction(cell); + JSFunction* function = jsCast(cell); if (function->executable()->isHostFunction()) return; @@ -75,7 +75,7 @@ inline void Recompiler::operator()(JSCell* cell) // Check if the function is already in the set - if so, // we've already retranslated it, nothing to do here. - if (!m_functionExecutables.add(executable).second) + if (!m_functionExecutables.add(executable).isNewEntry) return; ExecState* exec = function->scope()->globalObject->JSGlobalObject::globalExec(); -- cgit v1.2.1