Commit Graph

24782 Commits

Author SHA1 Message Date
Fergus Henderson
e058af27d6 Added some notes about the portability of the code. 1993-10-30 12:19:42 +00:00
Fergus Henderson
3d88b89ad3 Fix trivial bug. 1993-10-29 04:13:59 +00:00
Fergus Henderson
6c9e5b7589 Added mod2init to generate the initialization code automatically.
Also tidied up the Cakefile.
1993-10-28 10:51:17 +00:00
Fergus Henderson
e4c5ceb091 Added sparc_regs.h (doesn't work yet, due to problems with sliding
register windows).
Also added a bunch of scripts to test which registers really do get
clobbered, so that we don't have to completely rely on the unreliable
documentation.
1993-10-28 10:45:46 +00:00
Fergus Henderson
eb50dfcd90 Added machdeps/sparc_regs.h; this doesn't actually work yet due
to problems with sliding register windows.
Also added a bunch of scripts which (attempt to) check which registers
actually do get clobbered so that we don't have to completely rely on
the unreliable documentation.
1993-10-28 10:33:35 +00:00
Fergus Henderson
77442c7b51 Changed #ifdef __GNUC__ to #ifdef USE_GCC_NONLOCAL_GOTOS and
#ifdef USE_GCC_GLOBAL_REGISTERS.
Also a couple of minor fixes to gnuc and mod2c to get them to work
on cadillac.
1993-10-26 20:47:16 +00:00
Fergus Henderson
46b22aa4d5 Fix core dump problem with gcc -DSPEED. 1993-10-26 19:19:25 +00:00
Fergus Henderson
f15991d5f0 Minor fix. Also cleanup macros for GOTO. 1993-10-26 18:04:11 +00:00
Fergus Henderson
85a65acd5b Fixed obvious problem with create1(). 1993-10-25 12:50:04 +00:00
Fergus Henderson
11820d8a49 A very minor cosmetic change. 1993-10-22 19:06:18 +00:00
Fergus Henderson
5ca4ed3cac Changed the `deref' macro from a function-like macro to a procedure-like
macro, because the former can't be implemented efficiently with making
use of GCC's extensions.
1993-10-22 19:03:26 +00:00
Fergus Henderson
dd8ece51f0 Minor cleanups; also added a sanity check sys.mod. 1993-10-22 02:57:11 +00:00
Fergus Henderson
f918d5de34 Fixed various minor bugs (missing casts, incompatibilities between
the .mod files and the portable implementation.)
Improved the mod2c process slightly (The .c files are readonly and
have a header "this was generated automatically - do not edit".)
1993-10-21 09:34:49 +00:00
Fergus Henderson
4c914b1c7d Got the portable (non-gcc) implementation of sys.c working.
Converted the .c files into corresponding .mod files, using
the gnuc2mod script; the .c files are now generated automatically by
mod2gnuc or mod2c.
Also modified sys.c so that "Prolog calls C calls Prolog" will work,
and to get a rough check on how much space is used for local vars.
Fixed silly typo I had introduced into imp.h.
1993-10-20 17:02:44 +00:00
Fergus Henderson
740044f94e Fix imp.h so that it's compatible with colors.c again. 1993-10-20 01:25:51 +00:00
Fergus Henderson
6da9f790ce Added #ifndef guards to the header files. 1993-10-19 23:32:20 +00:00
Fergus Henderson
28ad1217e9 Catch GOTO(NULL), to make debugging easier. 1993-10-19 23:30:50 +00:00
Fergus Henderson
3eb8435b01 Fix stupid mistake. 1993-10-18 14:51:31 +00:00
Fergus Henderson
23ef923718 Reduce the dependencies on gcc: a first step towards making
it work with standard C compilers.
1993-10-18 14:37:23 +00:00
Zoltan Somogyi
a3ccd3d8a5 modifications needed for intelligent backtracking example 1993-10-17 15:36:30 +00:00
Zoltan Somogyi
e4dd587972 changed set of regs printed for color_1 1993-10-17 12:16:31 +00:00
Zoltan Somogyi
0555a9794e added colors example to test intelligent backtracking
added printframe and debugframe, like debugregs except show cpvars too
did some cleanup
1993-10-17 12:13:04 +00:00
Fergus Henderson
cfd0831f9e Reorganized the way we define the virtual registers. 1993-10-15 15:37:14 +00:00
Fergus Henderson
39c8d8fbe8 Reorganized the way we define the virtual registers.
Reorganized the register contents table for debugregs().
Cleaned up the code a bit.
1993-10-15 15:36:47 +00:00
Zoltan Somogyi
142753e4e7 reorganized imp.h
fixed negation code
added intelligent.nl
1993-10-15 08:40:07 +00:00
Zoltan Somogyi
e4f1b65b9f finished adapting files to 4 arg makeentry
added tailcall with debugging support and used it several places
1993-10-14 07:37:52 +00:00
Fergus Henderson
2d62d129b3 Added negation example. 1993-10-14 06:27:57 +00:00
cvs2git
ba01b595a1 This commit was manufactured by cvs2svn to create branch 'getopt'. 1993-10-14 05:32:52 +00:00
Fergus Henderson
71c6bbcbf7 Cleaned things up a bit; it now compiles cleanly with -ansi -Wall -Wetc. 1993-10-14 05:32:51 +00:00
Zoltan Somogyi
3301e642f6 Added the Cakefile and CFLAGS file to the CVS archive. 1993-10-14 04:04:38 +00:00
Zoltan Somogyi
09ed3bfc51 Added `reclaim' points - a light-weight choice point used
to reclaim heap space.
1993-10-14 04:01:08 +00:00
Zoltan Somogyi
782998128d initial creation 1993-10-13 23:58:05 +00:00