aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4codegen.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-08-06 14:18:57 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-22 04:24:16 +0200
commit6d32ff7d891635982b54fd4db1946952ddb50b26 (patch)
treecb16ec942678b123664f4eaaf417f52d1f816c64 /src/qml/compiler/qv4codegen.cpp
parente8cb9ac132dbac4c7373a47469a097e572b818d2 (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.cpp')
-rw-r--r--src/qml/compiler/qv4codegen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/compiler/qv4codegen.cpp b/src/qml/compiler/qv4codegen.cpp
index e97be71d02..4f9815826b 100644
--- a/src/qml/compiler/qv4codegen.cpp
+++ b/src/qml/compiler/qv4codegen.cpp
@@ -443,7 +443,7 @@ Codegen::Codegen(bool strict)
{
}
-V4IR::Function *Codegen::operator()(const QString &fileName,
+V4IR::Function *Codegen::generateFromProgram(const QString &fileName,
const QString &sourceCode,
Program *node,
V4IR::Module *module,
@@ -468,7 +468,7 @@ V4IR::Function *Codegen::operator()(const QString &fileName,
return globalCode;
}
-V4IR::Function *Codegen::operator()(const QString &fileName,
+V4IR::Function *Codegen::generateFromFunctionExpression(const QString &fileName,
const QString &sourceCode,
AST::FunctionExpression *ast,
V4IR::Module *module)