diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-08-06 14:18:57 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-08-22 04:24:16 +0200 |
commit | 6d32ff7d891635982b54fd4db1946952ddb50b26 (patch) | |
tree | cb16ec942678b123664f4eaaf417f52d1f816c64 /src/qml/compiler/qv4codegen_p.h | |
parent | e8cb9ac132dbac4c7373a47469a097e572b818d2 (diff) |
Cleanup: Rename overloaded () operators of CodeGen to more descriptive function names
Change-Id: I529c3d5c80ed7f703046a2803c492c4b15511049
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/compiler/qv4codegen_p.h')
-rw-r--r-- | src/qml/compiler/qv4codegen_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/compiler/qv4codegen_p.h b/src/qml/compiler/qv4codegen_p.h index 2aa4b42c6a..075371b273 100644 --- a/src/qml/compiler/qv4codegen_p.h +++ b/src/qml/compiler/qv4codegen_p.h @@ -75,13 +75,13 @@ public: QmlBinding }; - V4IR::Function *operator()(const QString &fileName, + V4IR::Function *generateFromProgram(const QString &fileName, const QString &sourceCode, AST::Program *ast, V4IR::Module *module, Mode mode = GlobalCode, const QStringList &inheritedLocals = QStringList()); - V4IR::Function *operator()(const QString &fileName, + V4IR::Function *generateFromFunctionExpression(const QString &fileName, const QString &sourceCode, AST::FunctionExpression *ast, V4IR::Module *module); |