summaryrefslogtreecommitdiff
path: root/tools/lli
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lli')
-rw-r--r--tools/lli/lli.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lli/lli.cpp b/tools/lli/lli.cpp
index 9bb514e54e..818931c5f7 100644
--- a/tools/lli/lli.cpp
+++ b/tools/lli/lli.cpp
@@ -49,7 +49,7 @@ int main(int argc, char** argv) {
// Start interpreter into the main function...
//
- if (!I.callMethod(MainFunction) && !DebugMode) {
+ if (!I.callMainMethod(MainFunction, InputFilename) && !DebugMode) {
// If not in debug mode and if the call succeeded, run the code now...
I.run();
}