aboutsummaryrefslogtreecommitdiffstats
path: root/qmljs_runtime.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2012-11-15 13:31:57 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2012-11-15 13:43:53 +0100
commitbd63199bba91769487d24f3a8635f20105eeff06 (patch)
treef0fcf88f78cf7a98a9853746b83e6637461af526 /qmljs_runtime.h
parent92b5cedeef42f57c7e526e9bb5592692960bce18 (diff)
Cleanup Context initialization
Make the initialization for call() compliant with the standard, and add a strict mode boolean. Change-Id: I8617af8dbfde47d8b2a8a0a7ce0ab491031ba4ba Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'qmljs_runtime.h')
-rw-r--r--qmljs_runtime.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qmljs_runtime.h b/qmljs_runtime.h
index f550b3603c..09ee5224ae 100644
--- a/qmljs_runtime.h
+++ b/qmljs_runtime.h
@@ -596,10 +596,10 @@ struct Context {
void init(ExecutionEngine *eng);
- void initCallContext(Context *parent, const Value *object, FunctionObject *f, Value *args, unsigned argc);
+ void initCallContext(Context *parent, const Value that, FunctionObject *f, Value *args, unsigned argc);
void leaveCallContext();
- void initConstructorContext(Context *parent, Value *object, FunctionObject *f, Value *args, unsigned argc);
+ void initConstructorContext(Context *parent, Value that, FunctionObject *f, Value *args, unsigned argc);
void leaveConstructorContext(FunctionObject *f);
void throwError(Value value);