mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +00:00
Return -1 only on failure to execute a program.
Also fix some comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109499 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1960,7 +1960,7 @@ struct ActionHandlingCallbackBase
|
||||
<< "PrintError(\""
|
||||
<< (d.getNumArgs() >= 1 ? InitPtrToString(d.getArg(0)) : "Unknown error!")
|
||||
<< "\");\n";
|
||||
O.indent(IndentLevel) << "return -1;\n";
|
||||
O.indent(IndentLevel) << "return 1;\n";
|
||||
}
|
||||
|
||||
void onWarningDag(const DagInit& d,
|
||||
|
||||
Reference in New Issue
Block a user