aboutsummaryrefslogtreecommitdiffstats
path: root/qmljs_objects.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@digia.com>2012-11-20 13:41:49 +0100
committerLars Knoll <lars.knoll@digia.com>2012-11-21 15:47:14 +0100
commit7704d8b3b6024881da15fea44f51db3b87286709 (patch)
tree1754460f338680ff6f32a7bc0d3b53067fd80483 /qmljs_objects.h
parent71446af5495a429f3c465c8bd2bcea4871408d57 (diff)
Keep the EvalISelFactory in the ExecutionEngine.
Also corrected the class name cApiTaliSatiOn. Change-Id: I131566e904c8ee575686a469f16d098dd512d865 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'qmljs_objects.h')
-rw-r--r--qmljs_objects.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/qmljs_objects.h b/qmljs_objects.h
index 6048e99771..31d493a790 100644
--- a/qmljs_objects.h
+++ b/qmljs_objects.h
@@ -524,16 +524,13 @@ struct ScriptFunction: FunctionObject {
struct EvalFunction : FunctionObject
{
- EvalFunction(ExecutionContext *scope, EValISelFactory *factory): FunctionObject(scope), _factory(factory) {}
+ EvalFunction(ExecutionContext *scope): FunctionObject(scope) {}
- static Value evaluate(QQmlJS::VM::ExecutionContext *ctx, const QString &fileName,
- const QString &source, EValISelFactory *factory,
- QQmlJS::Codegen::Mode mode);
+ static Value evaluate(QQmlJS::VM::ExecutionContext *ctx,
+ const QString &fileName, const QString &source,
+ QQmlJS::Codegen::Mode mode);
virtual Value call(ExecutionContext *context, Value thisObject, Value *args, int argc, bool strictMode = false);
-
-private:
- EValISelFactory *_factory;
};
struct IsNaNFunction: FunctionObject