summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/debugger/Debugger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/debugger/Debugger.cpp')
-rw-r--r--Source/JavaScriptCore/debugger/Debugger.cpp4
1 files changed, 2 insertions, 2 deletions
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<JSFunction*>(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();