summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/v4/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/v4/main.cpp b/tools/v4/main.cpp
index 17ddecba..86d5ae6e 100644
--- a/tools/v4/main.cpp
+++ b/tools/v4/main.cpp
@@ -211,7 +211,7 @@ int compile(const QString &fileName, const QString &source, QQmlJS::LLVMOutputTy
Codegen cg(&errorHandler, false);
// FIXME: if the program is empty, we should we generate an empty %entry, or give an error?
- /*IR::Function *globalCode =*/ cg(fileName, program, &module);
+ /*IR::Function *globalCode =*/ cg(fileName, source, program, &module);
int (*exec)(void *) = outputType == LLVMOutputJit ? executeLLVMCode : 0;
return compileWithLLVM(&module, fileName, outputType, exec);