diff options
Diffstat (limited to 'src/qml/compiler/qv4jsir_p.h')
-rw-r--r-- | src/qml/compiler/qv4jsir_p.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qml/compiler/qv4jsir_p.h b/src/qml/compiler/qv4jsir_p.h index 2d2e11ffda..14daff0fb6 100644 --- a/src/qml/compiler/qv4jsir_p.h +++ b/src/qml/compiler/qv4jsir_p.h @@ -672,11 +672,14 @@ struct Q_QML_EXPORT Module { MemoryPool pool; QVector<Function *> functions; Function *rootFunction; + QString fileName; Function *newFunction(const QString &name, Function *outer); Module() : rootFunction(0) {} ~Module(); + + void setFileName(const QString &name); }; struct Function { @@ -692,8 +695,6 @@ struct Function { QVector<Function *> nestedFunctions; Function *outer; - QString sourceFile; - int insideWithOrCatch; uint hasDirectEval: 1; |