diff --git a/compiler/src/main/java/lla/privat/atarixl/compiler/Main.java b/compiler/src/main/java/lla/privat/atarixl/compiler/Main.java index e0c0d1e..616c858 100644 --- a/compiler/src/main/java/lla/privat/atarixl/compiler/Main.java +++ b/compiler/src/main/java/lla/privat/atarixl/compiler/Main.java @@ -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."); @@ -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; }