summaryrefslogtreecommitdiffstats
path: root/src/script/api
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-10-05 11:47:52 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-10-05 11:53:40 (GMT)
commit502c7d324141fb48a902ef475b4fd2932dc859c5 (patch)
tree6a748d9a12e2b693727468aa381c8b8bfa3fc72f /src/script/api
parentb2ea3433f4a42e367fd0708f0198329754903086 (diff)
downloadQt-502c7d324141fb48a902ef475b4fd2932dc859c5.zip
Qt-502c7d324141fb48a902ef475b4fd2932dc859c5.tar.gz
Qt-502c7d324141fb48a902ef475b4fd2932dc859c5.tar.bz2
Updated JavaScriptCore from /home/khansen/dev/qtwebkit to jsc-for-qtscript-4.6-staging-05102009 ( 38c2b17366f24220d9ae0456a7cfe2ac78a9f91c )
Adapt src/script to src/3rdparty/javascriptcore changes
Diffstat (limited to 'src/script/api')
-rw-r--r--src/script/api/qscriptengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/api/qscriptengine.cpp b/src/script/api/qscriptengine.cpp
index fb14940..09042e1 100644
--- a/src/script/api/qscriptengine.cpp
+++ b/src/script/api/qscriptengine.cpp
@@ -2168,7 +2168,7 @@ QScriptValue QScriptEngine::evaluate(const QString &program, const QString &file
exec->clearException();
JSC::DynamicGlobalObjectScope dynamicGlobalObjectScope(exec, exec->scopeChain()->globalObject());
- JSC::EvalExecutable executable(source);
+ JSC::EvalExecutable executable(exec, source);
JSC::JSObject* error = executable.compile(exec, exec->scopeChain());
if (error) {
exec->setException(error);