From cd44dc59cdfc39534aef4d417e9f3c412e3be139 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Fri, 3 Feb 2012 09:55:33 +0100 Subject: Imported WebKit commit fce473cb4d55aa9fe9d0b0322a2fffecb731b961 (http://svn.webkit.org/repository/webkit/trunk@106560) --- Source/JavaScriptCore/runtime/Completion.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/JavaScriptCore/runtime/Completion.cpp') diff --git a/Source/JavaScriptCore/runtime/Completion.cpp b/Source/JavaScriptCore/runtime/Completion.cpp index c3d9e6947..98a66589a 100644 --- a/Source/JavaScriptCore/runtime/Completion.cpp +++ b/Source/JavaScriptCore/runtime/Completion.cpp @@ -24,6 +24,7 @@ #include "Completion.h" #include "CallFrame.h" +#include "CodeProfiling.h" #include "JSGlobalObject.h" #include "JSLock.h" #include "Interpreter.h" @@ -55,6 +56,8 @@ JSValue evaluate(ExecState* exec, ScopeChainNode* scopeChain, const SourceCode& JSLock lock(exec); ASSERT(exec->globalData().identifierTable == wtfThreadData().currentIdentifierTable()); + CodeProfiling profile(source); + ProgramExecutable* program = ProgramExecutable::create(exec, source); if (!program) { if (returnedException) -- cgit v1.2.1