Commit 27766f0e by Jeffrey A Law Committed by Jeff Law

Remove more bytecode stuff.

From-SVN: r17436
parent c9804136
Tue Jan 20 09:29:09 1998 Jeffrey A Law (law@cygnus.com) Tue Jan 20 09:29:09 1998 Jeffrey A Law (law@cygnus.com)
* Makefile.in: Remove more bytecode stuff.
* expr.c, stmt.c, config/msdos/top.sed: Likewise.
* vax/xm-vms.h, winnt/config-nt.sed: Likewise.
* f/install.texi, objc/Make-lang.in: Likewise.
* Makefile.in: Remove all bytecode support. * Makefile.in: Remove all bytecode support.
(OBJS): Make sure last entry is a real object file, not EXTRA_OBJS. (OBJS): Make sure last entry is a real object file, not EXTRA_OBJS.
* emit-rtl.c: Remove all bytecode support. * emit-rtl.c: Remove all bytecode support.
......
...@@ -615,7 +615,6 @@ STAGESTUFF = *$(objext) insn-flags.h insn-config.h insn-codes.h \ ...@@ -615,7 +615,6 @@ STAGESTUFF = *$(objext) insn-flags.h insn-config.h insn-codes.h \
genconfig$(build_exeext) genpeep$(build_exeext) genattrtab$(build_exeext) \ genconfig$(build_exeext) genpeep$(build_exeext) genattrtab$(build_exeext) \
genattr$(build_exeext) genopinit$(build_exeext) \ genattr$(build_exeext) genopinit$(build_exeext) \
stamp-bcarity stamp-bcopcode stamp-bcopname \ stamp-bcarity stamp-bcopcode stamp-bcopname \
bi-arity$(build_exeext) bi-opcode$(build_exeext) bi-opname$(build_exeext) \
xgcc$(exeext) cc1$(exeext) cpp$(exeext) $(EXTRA_PASSES) \ xgcc$(exeext) cc1$(exeext) cpp$(exeext) $(EXTRA_PASSES) \
$(EXTRA_PARTS) $(EXTRA_PROGRAMS) gcc-cross$(exeext) \ $(EXTRA_PARTS) $(EXTRA_PROGRAMS) gcc-cross$(exeext) \
$(CCCP)$(exeext) cc1obj$(exeext) enquire$(exeext) \ $(CCCP)$(exeext) cc1obj$(exeext) enquire$(exeext) \
...@@ -2579,8 +2578,8 @@ distdir: distdir-start lang.distdir distdir-finish ...@@ -2579,8 +2578,8 @@ distdir: distdir-start lang.distdir distdir-finish
# The -P option assumes this is GNU diff. # The -P option assumes this is GNU diff.
diff: diff:
diff -rc2P -x c-parse.y -x c-parse.c -x c-parse.h -x c-gperf.h \ diff -rc2P -x c-parse.y -x c-parse.c -x c-parse.h -x c-gperf.h \
-x cexp.c -x bi-parser.c -x objc-parse.y -x objc-parse.c \ -x cexp.c -x objc-parse.y -x objc-parse.c \
-x bi-parser.h -x TAGS \ -x TAGS \
-x "gcc.??" -x "gcc.??s" -x gcc.aux -x "gcc.info*" \ -x "gcc.??" -x "gcc.??s" -x gcc.aux -x "gcc.info*" \
-x "cpp.??" -x "cpp.??s" -x cpp.aux -x "cpp.info*" \ -x "cpp.??" -x "cpp.??s" -x cpp.aux -x "cpp.info*" \
$(LANG_DIFF_EXCLUDES) \ $(LANG_DIFF_EXCLUDES) \
......
...@@ -19,9 +19,9 @@ host_xm_file=config/i386/xm-dos.h ...@@ -19,9 +19,9 @@ host_xm_file=config/i386/xm-dos.h
/^xmake_file=/ d /^xmake_file=/ d
/^tmake_file=/ d /^tmake_file=/ d
/^version=/ c\ /^version=/ c\
version=2.7.2 version=2.8.0
/^mainversion=/ c\ /^mainversion=/ c\
mainversion=2.7.2 mainversion=2.8.0
s/CC = cc/CC = gcc/ s/CC = cc/CC = gcc/
s/:\$/: \$/g s/:\$/: \$/g
s/^ \ *\.\// / s/^ \ *\.\// /
...@@ -48,7 +48,7 @@ s/; *@true// ...@@ -48,7 +48,7 @@ s/; *@true//
s/stamp-/s-/g s/stamp-/s-/g
s/tmp-/t-/g s/tmp-/t-/g
/> *s-objlist/ c\ /> *s-objlist/ c\
echo.exe -o s-objlist $(addprefix ../,$(OBJS) $(BC_OBJS)) echo.exe -o s-objlist $(addprefix ../,$(OBJS))
/^OBJS.*s-objlist/ s?`cat ../s-objlist`?@../s-objlist? /^OBJS.*s-objlist/ s?`cat ../s-objlist`?@../s-objlist?
s/^\(SUBDIR_OBSTACK *=\).*$/\1 ..\/obstack.o/ s/^\(SUBDIR_OBSTACK *=\).*$/\1 ..\/obstack.o/
s/^\(SUBDIR_USE_ALLOCA *=\).*$/\1/ s/^\(SUBDIR_USE_ALLOCA *=\).*$/\1/
......
...@@ -143,7 +143,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -143,7 +143,6 @@ Boston, MA 02111-1307, USA. */
/* use ANSI/SYSV style byte manipulation routines instead of BSD ones */ /* use ANSI/SYSV style byte manipulation routines instead of BSD ones */
/* rename all too-long external symbol names to avoid warnings */ /* rename all too-long external symbol names to avoid warnings */
#define bc_check_for_full_enumeration_handling bc_check_for_full_enum_handling
#define check_for_full_enumeration_handling check_for_full_enum_handling #define check_for_full_enumeration_handling check_for_full_enum_handling
#define current_function_contains_functions curfunc_contains_functions #define current_function_contains_functions curfunc_contains_functions
#define current_function_epilogue_delay_list curfunc_epilogue_delay_list #define current_function_epilogue_delay_list curfunc_epilogue_delay_list
......
...@@ -13,7 +13,7 @@ s/$(srcdir)\/c-gperf/c-gperf/g ...@@ -13,7 +13,7 @@ s/$(srcdir)\/c-gperf/c-gperf/g
/^lang_specs_files=/ d /^lang_specs_files=/ d
/^lang_options_files=/ d /^lang_options_files=/ d
/^version=/ c\ /^version=/ c\
version=2.7.2 version=2.8.0
s/CC = cc/CC = cl/ s/CC = cc/CC = cl/
s/^SHELL =.*/SHELL =/ s/^SHELL =.*/SHELL =/
s/CFLAGS = -g/CFLAGS =/ s/CFLAGS = -g/CFLAGS =/
...@@ -38,7 +38,7 @@ GCC_FOR_TARGET = xgcc ...@@ -38,7 +38,7 @@ GCC_FOR_TARGET = xgcc
ENQUIRE_LDFLAGS = ENQUIRE_LDFLAGS =
s/; *@true// s/; *@true//
/> *stamp-objlist/ c\ /> *stamp-objlist/ c\
echo.exe $(OBJS) $(BC_OBJS) | sed -e "s, \([a-z]\), ../\1,g" >stamp-objlist echo.exe $(OBJS) | sed -e "s, \([a-z]\), ../\1,g" >stamp-objlist
/^OBJS.*stamp-objlist/ s?`cat ../stamp-objlist`?@../stamp-objlist? /^OBJS.*stamp-objlist/ s?`cat ../stamp-objlist`?@../stamp-objlist?
s/^\(SUBDIR_OBSTACK *=\).*$/\1 ..\/obstack.o/ s/^\(SUBDIR_OBSTACK *=\).*$/\1 ..\/obstack.o/
s/^\(SUBDIR_USE_ALLOCA *=\).*$/\1/ s/^\(SUBDIR_USE_ALLOCA *=\).*$/\1/
...@@ -90,9 +90,6 @@ USE_HOST_ALLOCA=alloca.obj ...@@ -90,9 +90,6 @@ USE_HOST_ALLOCA=alloca.obj
s/^ALLOCA =/ALLOCA = alloca.obj/ s/^ALLOCA =/ALLOCA = alloca.obj/
s/^ALLOCA_FINISH = true/ALLOCA_FINISH =/ s/^ALLOCA_FINISH = true/ALLOCA_FINISH =/
s/ \.\// / s/ \.\// /
s/^bi-\([a-z]*\) *:/bi-\1.exe :/
s/ bi-\([a-z]*\)$/ bi-\1.exe/
s/ bi-\([a-z]*\) / bi-\1.exe /g
s/^gen\([a-z]*\) *:/gen\1.exe :/ s/^gen\([a-z]*\) *:/gen\1.exe :/
s/ gen\([a-z]*\)$/ gen\1.exe/ s/ gen\([a-z]*\)$/ gen\1.exe/
s/ gen\([a-z]*\) / gen\1.exe /g s/ gen\([a-z]*\) / gen\1.exe /g
......
...@@ -147,10 +147,6 @@ struct clear_by_pieces ...@@ -147,10 +147,6 @@ struct clear_by_pieces
int reverse; int reverse;
}; };
/* Used to generate bytecodes: keep track of size of local variables,
as well as depth of arithmetic stack. (Notice that variables are
stored on the machine's stack, not the arithmetic stack.) */
static rtx get_push_address PROTO ((int)); static rtx get_push_address PROTO ((int));
extern int local_vars_size; extern int local_vars_size;
extern int stack_depth; extern int stack_depth;
......
...@@ -1453,7 +1453,7 @@ ensure that `bison' is not invoked by `make' during the build, type ...@@ -1453,7 +1453,7 @@ ensure that `bison' is not invoked by `make' during the build, type
these commands: these commands:
sh# cd gcc sh# cd gcc
sh# touch bi-parser.c bi-parser.h c-parse.c c-parse.h cexp.c sh# touch c-parse.c c-parse.h cexp.c
sh# touch cp/parse.c cp/parse.h objc-parse.c sh# touch cp/parse.c cp/parse.h objc-parse.c
sh# sh#
......
...@@ -1934,7 +1934,7 @@ type these commands: ...@@ -1934,7 +1934,7 @@ type these commands:
@example @example
sh# @kbd{cd gcc} sh# @kbd{cd gcc}
sh# @kbd{touch bi-parser.c bi-parser.h c-parse.c c-parse.h cexp.c} sh# @kbd{touch c-parse.c c-parse.h cexp.c}
sh# @kbd{touch cp/parse.c cp/parse.h objc-parse.c} sh# @kbd{touch cp/parse.c cp/parse.h objc-parse.c}
sh# sh#
@end example @end example
......
...@@ -62,9 +62,9 @@ OBJC_THREAD_FILE=thr-$(GCC_THREAD_FILE) ...@@ -62,9 +62,9 @@ OBJC_THREAD_FILE=thr-$(GCC_THREAD_FILE)
# Language-specific object files for Objective C. # Language-specific object files for Objective C.
OBJC_OBJS = objc-parse.o objc-act.o $(C_AND_OBJC_OBJS) OBJC_OBJS = objc-parse.o objc-act.o $(C_AND_OBJC_OBJS)
cc1obj: $(P) $(OBJC_OBJS) $(OBJS) $(BC_OBJS) $(LIBDEPS) cc1obj: $(P) $(OBJC_OBJS) $(OBJS) (LIBDEPS)
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(OBJC_OBJS) $(OBJS) \ $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(OBJC_OBJS) $(OBJS) \
$(BC_OBJS) $(LIBS) $(LIBS)
# Objective C language specific files. # Objective C language specific files.
......
...@@ -268,7 +268,6 @@ struct nesting ...@@ -268,7 +268,6 @@ struct nesting
struct label_chain *label_chain; struct label_chain *label_chain;
/* Number of function calls seen, as of start of this block. */ /* Number of function calls seen, as of start of this block. */
int function_call_count; int function_call_count;
/* Bytecode specific: stack level to restore stack to on exit. */
/* Nonzero if this is associated with a EH region. */ /* Nonzero if this is associated with a EH region. */
int exception_region; int exception_region;
/* The saved target_temp_slot_level from our outer block. /* The saved target_temp_slot_level from our outer block.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment