summaryrefslogtreecommitdiffstats
path: root/src/v4/qv4engine.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-04-03 20:24:38 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2013-04-04 15:32:21 +0200
commit90dbc177757e16ad6cfcf5a195cbf610fe68a92d (patch)
tree72a3305e60e86cc2729a599e2b6925d609996460 /src/v4/qv4engine.h
parentaecf1c22d38816269b27c8e8d70a9767c57dbc1d (diff)
Create some execution contexts on the stack again
This seems to be working now, and speeds up our benchmarks with another 20%. Change-Id: Ib01bf8f66db91b0e06090eff705db79b0caf66ee Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/v4/qv4engine.h')
-rw-r--r--src/v4/qv4engine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/v4/qv4engine.h b/src/v4/qv4engine.h
index a4b3bd83..b3dd3dc0 100644
--- a/src/v4/qv4engine.h
+++ b/src/v4/qv4engine.h
@@ -201,6 +201,7 @@ struct Q_V4_EXPORT ExecutionEngine
ExecutionContext *newWithContext(Object *with);
ExecutionContext *newCatchContext(String* exceptionVarName, const QQmlJS::VM::Value &exceptionValue);
ExecutionContext *newCallContext(FunctionObject *f, const QQmlJS::VM::Value &thisObject, QQmlJS::VM::Value *args, int argc);
+ ExecutionContext *newCallContext(void *stackSpace, FunctionObject *f, const QQmlJS::VM::Value &thisObject, QQmlJS::VM::Value *args, int argc);
ExecutionContext *pushGlobalContext();
ExecutionContext *popContext();