From bac9b54dfb38767a34410fa55f8f46e64b458efb Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Fri, 30 Jun 2017 15:34:12 +0200 Subject: Split up qv4codegen into several files And changed the namespace of those classes to QV4::Compiler. ScanFunctions should over time also move into its own file. Change-Id: If084acea4a9a20b9c79ad47dac19e02dc720e098 Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4script_p.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/qml/jsruntime/qv4script_p.h') diff --git a/src/qml/jsruntime/qv4script_p.h b/src/qml/jsruntime/qv4script_p.h index 760dad0060..75045dda9c 100644 --- a/src/qml/jsruntime/qv4script_p.h +++ b/src/qml/jsruntime/qv4script_p.h @@ -61,10 +61,6 @@ QT_BEGIN_NAMESPACE class QQmlContextData; -namespace QQmlJS { -class Directives; -} - namespace QV4 { struct ContextStateSaver { @@ -139,7 +135,7 @@ struct Q_QML_EXPORT Script { Function *function(); - static QQmlRefPointer precompile(QQmlJS::Module *module, Compiler::JSUnitGenerator *unitGenerator, const QUrl &url, const QString &source, + static QQmlRefPointer precompile(QV4::Compiler::Module *module, Compiler::JSUnitGenerator *unitGenerator, const QUrl &url, const QString &source, QList *reportedErrors = 0, QQmlJS::Directives *directivesCollector = 0); static ReturnedValue evaluate(ExecutionEngine *engine, const QString &script, QmlContext *qmlContext); -- cgit v1.2.3