aboutsummaryrefslogtreecommitdiffstats
path: root/qmljs_engine.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@digia.com>2012-11-19 13:15:25 +0100
committerLars Knoll <lars.knoll@digia.com>2012-11-19 14:02:58 +0100
commite1bbbb6cf9e6e4790eca41416c93cf271b0b7c02 (patch)
tree0e20c4f3a6be6c9a05aec270cdfee7dfb34376bb /qmljs_engine.h
parentb072fd9317fa20d9206e9faaca7b0b45ae28a519 (diff)
Fix isel for eval and a whole bunch of other warnings.
A factory is now passed along to do the codegen for eval(). Change-Id: If15b1f28c9c0a8f8b6d18b56d6e7bc5d942927e5 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'qmljs_engine.h')
-rw-r--r--qmljs_engine.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/qmljs_engine.h b/qmljs_engine.h
index f111979f0d..4ecc386d00 100644
--- a/qmljs_engine.h
+++ b/qmljs_engine.h
@@ -41,6 +41,7 @@
#ifndef QMLJS_ENGINE_H
#define QMLJS_ENGINE_H
+#include <qv4isel_p.h>
#include <qmljs_objects.h>
#include <qmljs_environment.h>
#include <setjmp.h>
@@ -49,7 +50,7 @@ namespace QQmlJS {
namespace VM {
struct Value;
-struct Array;
+class Array;
struct Object;
struct BooleanObject;
struct NumberObject;
@@ -136,7 +137,7 @@ struct ExecutionEngine
QVector<ExceptionHandler> unwindStack;
- ExecutionEngine();
+ ExecutionEngine(EValISelFactory *factory);
ExecutionContext *newContext();