mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 14:32:24 +00:00
Change of mind: s/uintptr/address/. Replace LONGINT with ADDRESS in Platform*.
This commit is contained in:
parent
90737e5677
commit
a865643d6c
215 changed files with 1441 additions and 1410 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* voc 1.95 [2016/09/03] for gcc LP64 on cygwin xtspkaSfF */
|
||||
/* voc 1.95 [2016/09/04] for gcc LP64 on cygwin xtspkaSfF */
|
||||
#include "SYSTEM.h"
|
||||
#include "OPC.h"
|
||||
#include "OPM.h"
|
||||
|
|
@ -285,7 +285,7 @@ void OPV_AdrAndSize (OPT_Object topScope)
|
|||
OPT_realtyp->strobj->linkadr = 2;
|
||||
OPT_inttyp->strobj->linkadr = 2;
|
||||
OPT_linttyp->strobj->linkadr = 2;
|
||||
OPT_pinttyp->strobj->linkadr = 2;
|
||||
OPT_adrtyp->strobj->linkadr = 2;
|
||||
OPT_int8typ->strobj->linkadr = 2;
|
||||
OPT_int16typ->strobj->linkadr = 2;
|
||||
OPT_int32typ->strobj->linkadr = 2;
|
||||
|
|
@ -938,7 +938,7 @@ static void OPV_expr (OPT_Node n, int16 prec)
|
|||
OPM_Write(')');
|
||||
break;
|
||||
case 24:
|
||||
OPM_WriteString((CHAR*)"(uintptr)", 10);
|
||||
OPM_WriteString((CHAR*)"(address)", 10);
|
||||
if (l->class == 1) {
|
||||
OPC_CompleteIdent(l->obj);
|
||||
} else {
|
||||
|
|
@ -954,7 +954,7 @@ static void OPV_expr (OPT_Node n, int16 prec)
|
|||
OPC_Ident(n->typ->strobj);
|
||||
OPM_Write(')');
|
||||
if (__IN(n->typ->form, 0x1800) || __IN(l->typ->form, 0x1800)) {
|
||||
OPM_WriteString((CHAR*)"(uintptr)", 10);
|
||||
OPM_WriteString((CHAR*)"(address)", 10);
|
||||
}
|
||||
OPV_expr(l, exprPrec);
|
||||
} else {
|
||||
|
|
@ -1326,7 +1326,7 @@ static void OPV_NewArr (OPT_Node d, OPT_Node x)
|
|||
if (x->class == 7) {
|
||||
OPC_IntLiteral(x->conval->intval, OPM_PointerSize);
|
||||
} else {
|
||||
OPM_WriteString((CHAR*)"((uintptr)(", 12);
|
||||
OPM_WriteString((CHAR*)"((address)(", 12);
|
||||
OPV_expr(x, 10);
|
||||
OPM_WriteString((CHAR*)"))", 3);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue