scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 3c2f03ea118cacf8da600c395071a4b0113504b1
parent 2caa6847c311d53c4a3666659e9798cbd5d3bce2
Author: Roberto E. Vargas Caballero <Roberto E. Vargas Caballero>
Date:   Wed, 20 Apr 2016 03:36:33 +0200

[cc2] Make OTMP equal to STMP

At this moment we still have correlation between S and O values
in addr(). This correlation must go out, but we have to fix other
problems first, so the easy solution is to set OTMP with the same
value than STMP.

Diffstat:
Mcc2/cc2.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cc2/cc2.h b/cc2/cc2.h @@ -51,7 +51,7 @@ enum op { /* kind of operand */ /* operands */ OMEM = 'M', - OTMP = 'T', + OTMP = 'N', OAUTO = 'A', OREG = 'R', OCONST = '#',