Added prefix C_ to the names prolog, jump, and locals

This commit is contained in:
ceriel 1989-01-26 14:04:11 +00:00
parent e6fb2468c8
commit 817facac14
8 changed files with 28 additions and 28 deletions

View file

@ -1249,17 +1249,17 @@ C_df_ilb ==> clean_push_buf();
set_local_visible( $1). set_local_visible( $1).
#endif #endif
jump ==> "jmp $1". C_jump ==> "jmp $1".
prolog ==> "push bp"; C_prolog ==> "push bp";
"mov bp, sp". "mov bp, sp".
locals C_locals
$1 == 0 ==> . $1 == 0 ==> .
$1 == 2 ==> "push ax". $1 == 2 ==> "push ax".
$1 == 4 ==> "push ax"; $1 == 4 ==> "push ax";
"push ax". "push ax".
default ==> "sub sp, $1". default ==> "sub sp, $1".

View file

@ -353,9 +353,9 @@ C_cii ==> " move.l (sp)+, d0";
C_cuu ==> "lea (8,sp),sp". C_cuu ==> "lea (8,sp),sp".
C_ciu ==> C_cuu(). C_ciu ==> "lea (8,sp),sp".
C_cui ==> C_cuu(). C_cui ==> "lea (8,sp),sp".
C_cfi ==> "jsr (.cfi)"; C_cfi ==> "jsr (.cfi)";
"move.l (4, sp), d0"; "move.l (4, sp), d0";
@ -856,8 +856,8 @@ C_trp ==> "jsr (.trp)".
/*****************************************************************************/ /*****************************************************************************/
prolog ==> . C_prolog ==> .
jump ==> "bra $1". C_jump ==> "bra $1".
locals ==> "link a6, #-$1". C_locals ==> "link a6, #-$1".

View file

@ -794,8 +794,8 @@ C_trp ==> "jsr (.trp)".
/*****************************************************************************/ /*****************************************************************************/
prolog ==> . C_prolog ==> .
jump ==> "bra $1". C_jump ==> "bra $1".
locals ==> "link a6, #-$1". C_locals ==> "link a6, #-$1".

View file

@ -768,11 +768,11 @@ C_trp ==> "jsb .trp".
/*****************************************************************************/ /*****************************************************************************/
prolog ==> text2( 0x0). C_prolog ==> text2( 0x0).
jump ==> "jmp $1". C_jump ==> "jmp $1".
locals C_locals
$1 == 0 ==> . $1 == 0 ==> .
$1 == 4 ==> "clrq -(sp)". $1 == 4 ==> "clrq -(sp)".
$1 == 8 ==> "clrq -(sp)". $1 == 8 ==> "clrq -(sp)".

View file

@ -17,7 +17,7 @@ arith l;
symbol_definition( p); symbol_definition( p);
set_local_visible( p); set_local_visible( p);
locals( l); C_locals( l);
jump( extnd_start( B_procno)); C_jump( extnd_start( B_procno));
} }
} }

View file

@ -9,7 +9,7 @@ int d;
char *s; char *s;
swtxt(); swtxt();
jump(extnd_part( d)); C_jump(extnd_part( d));
symbol_definition( s = extnd_cont( d)); symbol_definition( s = extnd_cont( d));
set_local_visible( s); set_local_visible( s);
} }
@ -33,7 +33,7 @@ int d;
{ {
swtxt(); swtxt();
jump(extnd_cont( d)); C_jump(extnd_cont( d));
} }

View file

@ -13,7 +13,7 @@ arith l;
symbol_definition( extnd_name( s)); symbol_definition( extnd_name( s));
B_procno++; B_procno++;
prolog(); C_prolog();
locals(l); C_locals(l);
B_locals_created = 1; B_locals_created = 1;
} }

View file

@ -18,9 +18,9 @@ char*s;
symbol_definition( extnd_name( s)); symbol_definition( extnd_name( s));
B_procno++; B_procno++;
prolog(); C_prolog();
B_locals_created = 0; B_locals_created = 0;
jump( extnd_pro( B_procno)); C_jump( extnd_pro( B_procno));
symbol_definition( ss = extnd_start( B_procno)); symbol_definition( ss = extnd_start( B_procno));
set_local_visible( ss); set_local_visible( ss);
} }