mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 23:24:59 +00:00
Enhancements to pass argc & argv to main if required
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@909 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user