Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsImNetz committed Apr 9, 2024
1 parent a21a1af commit d87c3a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/src/main/java/lla/privat/atarixl/compiler/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public static void usage() {
LOGGER.info(" -showPeepholeOptimize - if given, show which peephole optimize will applied.");
LOGGER.info(" -testincludes - if given, test given includes");
LOGGER.info(" -boundscheck or -bc - if given, bounds check will be added in write to array");
LOGGER.info(" -noSafeLocalToStack - if given, local variables will store on heap");
LOGGER.info(" -noSaveLocalToStack - if given, local variables will store on heap");
LOGGER.info(" 6502 Stack holds only 256 bytes and need 2 bytes per function call.");
LOGGER.info(" Now it stores also local variables on stack.");
LOGGER.info(" If stack underrun occur, use this parameter.");
Expand Down Expand Up @@ -225,7 +225,7 @@ else if (parameter.equalsIgnoreCase("-boundscheck") || parameter.equalsIgnoreCas
LOGGER.info("Parameter for bounds check is given, we add bounds check.");
boundsCheck = true;
}
else if (parameter.equalsIgnoreCase("-noSafeLocalToStack") || parameter.equalsIgnoreCase("-nl")) {
else if (parameter.equalsIgnoreCase("-noSaveLocalToStack") || parameter.equalsIgnoreCase("-nl")) {
LOGGER.info("Parameter for noSaveLocalToStack is given, local variables will store on heap.");
saveLocalToStack = true;
}
Expand Down

0 comments on commit d87c3a1

Please sign in to comment.