diff options
author | Erik Verbruggen <erik.verbruggen@digia.com> | 2013-03-18 20:53:26 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2013-03-18 20:58:15 +0100 |
commit | e0a5c8cbde9f67a61d34868a4c9e588eee125fe8 (patch) | |
tree | 23d2a6b4ef13b880b7119b1e36a33ec594b45cc5 /tools | |
parent | 30321555e34ce27f45ae98045a1bf981e7530f23 (diff) |
Check if "use strict" has no escaped chars.
Change-Id: I7dc172eba02d454467ead1e18a1a59e98890dd54
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/v4/main.cpp | 2 |
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); |