From 817facac14f3684e9e5ae2068f92b0b6b516ed50 Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 26 Jan 1989 14:04:11 +0000 Subject: [PATCH] Added prefix C_ to the names prolog, jump, and locals --- mach/i86/ce/EM_table | 18 +++++++++--------- mach/m68020/ce/EM_table | 10 +++++----- mach/sun3/ce/EM_table | 6 +++--- mach/vax4/ce/EM_table | 6 +++--- util/ceg/defaults/pseudo/C_end.c | 4 ++-- util/ceg/defaults/pseudo/C_insertpart.c | 4 ++-- util/ceg/defaults/pseudo/C_pro.c | 4 ++-- util/ceg/defaults/pseudo/C_pro_narg.c | 4 ++-- 8 files changed, 28 insertions(+), 28 deletions(-) diff --git a/mach/i86/ce/EM_table b/mach/i86/ce/EM_table index efac973f7..45177495b 100644 --- a/mach/i86/ce/EM_table +++ b/mach/i86/ce/EM_table @@ -1249,17 +1249,17 @@ C_df_ilb ==> clean_push_buf(); set_local_visible( $1). #endif -jump ==> "jmp $1". +C_jump ==> "jmp $1". -prolog ==> "push bp"; - "mov bp, sp". +C_prolog ==> "push bp"; + "mov bp, sp". -locals - $1 == 0 ==> . +C_locals + $1 == 0 ==> . - $1 == 2 ==> "push ax". + $1 == 2 ==> "push ax". - $1 == 4 ==> "push ax"; - "push ax". + $1 == 4 ==> "push ax"; + "push ax". - default ==> "sub sp, $1". + default ==> "sub sp, $1". diff --git a/mach/m68020/ce/EM_table b/mach/m68020/ce/EM_table index 3a6973907..460e89394 100644 --- a/mach/m68020/ce/EM_table +++ b/mach/m68020/ce/EM_table @@ -353,9 +353,9 @@ C_cii ==> " move.l (sp)+, d0"; 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)"; "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". diff --git a/mach/sun3/ce/EM_table b/mach/sun3/ce/EM_table index 1666ecc0e..5543d954b 100644 --- a/mach/sun3/ce/EM_table +++ b/mach/sun3/ce/EM_table @@ -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". diff --git a/mach/vax4/ce/EM_table b/mach/vax4/ce/EM_table index 8a59faad6..1c2194cfa 100644 --- a/mach/vax4/ce/EM_table +++ b/mach/vax4/ce/EM_table @@ -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 == 4 ==> "clrq -(sp)". $1 == 8 ==> "clrq -(sp)". diff --git a/util/ceg/defaults/pseudo/C_end.c b/util/ceg/defaults/pseudo/C_end.c index d0b580161..8dc6c5f7d 100644 --- a/util/ceg/defaults/pseudo/C_end.c +++ b/util/ceg/defaults/pseudo/C_end.c @@ -17,7 +17,7 @@ arith l; symbol_definition( p); set_local_visible( p); - locals( l); - jump( extnd_start( B_procno)); + C_locals( l); + C_jump( extnd_start( B_procno)); } } diff --git a/util/ceg/defaults/pseudo/C_insertpart.c b/util/ceg/defaults/pseudo/C_insertpart.c index 0412a9ead..8e657b821 100644 --- a/util/ceg/defaults/pseudo/C_insertpart.c +++ b/util/ceg/defaults/pseudo/C_insertpart.c @@ -9,7 +9,7 @@ int d; char *s; swtxt(); - jump(extnd_part( d)); + C_jump(extnd_part( d)); symbol_definition( s = extnd_cont( d)); set_local_visible( s); } @@ -33,7 +33,7 @@ int d; { swtxt(); - jump(extnd_cont( d)); + C_jump(extnd_cont( d)); } diff --git a/util/ceg/defaults/pseudo/C_pro.c b/util/ceg/defaults/pseudo/C_pro.c index 49a6f0de0..af5f3a599 100644 --- a/util/ceg/defaults/pseudo/C_pro.c +++ b/util/ceg/defaults/pseudo/C_pro.c @@ -13,7 +13,7 @@ arith l; symbol_definition( extnd_name( s)); B_procno++; - prolog(); - locals(l); + C_prolog(); + C_locals(l); B_locals_created = 1; } diff --git a/util/ceg/defaults/pseudo/C_pro_narg.c b/util/ceg/defaults/pseudo/C_pro_narg.c index 58ce79243..dd103f51e 100644 --- a/util/ceg/defaults/pseudo/C_pro_narg.c +++ b/util/ceg/defaults/pseudo/C_pro_narg.c @@ -18,9 +18,9 @@ char*s; symbol_definition( extnd_name( s)); B_procno++; - prolog(); + C_prolog(); B_locals_created = 0; - jump( extnd_pro( B_procno)); + C_jump( extnd_pro( B_procno)); symbol_definition( ss = extnd_start( B_procno)); set_local_visible( ss); }