This commit is contained in:
Irmen de Jong 2022-01-12 22:09:25 +01:00
parent e425c4cca8
commit c8f4ab4f06
2 changed files with 2 additions and 2 deletions

View File

@ -223,9 +223,9 @@ internal class BeforeAsmAstChanger(val program: Program, private val options: Co
// TODO: somehow figure out if the expr will result in stack-evaluation STILL after being split off,
// in that case: do *not* split it off but just keep it as it is (otherwise code size increases)
// TODO: do NOT move this to an earler ast transform phase (such as StatementReorderer or StatementOptimizer) - it WILL result in larger code.
// TODO: this should be replaced by a general expression-evaluation optimization step.
// the actual conditional expression in the statement should be no more than VARIABLE <COMPARISON-OPERATOR> SIMPLE-EXPRESSION
// NOTE: do NOT move this to an earler ast transform phase (such as StatementReorderer or StatementOptimizer) - it WILL result in larger code.
var leftAssignment: Assignment? = null
var leftOperandReplacement: Expression? = null

View File

@ -805,7 +805,7 @@ where <statements> can be just a single statement for instance just a ``goto``,
<alternative statements>
}
The XX corresponds to one of the eigth branching instructions so the possibilities are:
The XX corresponds to one of the processor's branching instructions, so the possibilities are:
``if_cs``, ``if_cc``, ``if_eq``, ``if_ne``, ``if_pl``, ``if_mi``, ``if_vs`` and ``if_vc``.
It can also be one of the four aliases that are easier to read: ``if_z``, ``if_nz``, ``if_pos`` and ``if_neg``.