carl
21e15965cc
ANSI C conversion and add procedure declarations.
2019-05-11 01:17:40 +08:00
George Koehler
ca4bd38206
Delete old "assert.h" files; use libc <assert.h>.
...
Edit build.lua for programs losing their private assert.h, so they
depend on a list of .h files excluding assert.h.
Remove modules/src/assert; it would be a dependency of cpp.ansi but we
didn't build it, so cpp.ansi uses the libc assert.
I hope that libc <assert.h> can better report failed assertions. Some
old "assert.h" files didn't report the expression. Some reported a
literal "x", because traditional C expanded the macro parameter x in
"x", but ANSI C89 doesn't expand macro parameters in string literals.
2017-11-09 22:22:13 -05:00
David Given
fd7e9f9046
Fix an insidious 64-bitness bug which was causing incorrectly optimised code.
...
--HG--
branch : default-branch
2016-03-17 22:30:24 +01:00
ceriel
5c83e7dbb5
Header --> Id
1994-06-24 11:31:16 +00:00
ceriel
256151c7e4
Added some patterns and fixed error in constant multiplication
1993-02-03 10:10:07 +00:00
ceriel
bc42e31518
Fixed problem with repl_mul(); it was called far too often
1992-04-24 12:39:58 +00:00
ceriel
ec47c06ad7
bug fix in repl_mul and moved call to it so that it is done after pattern matching
1991-11-28 16:59:25 +00:00
ceriel
aa702fa855
Bug fix in multiplication optimization
1991-11-23 12:17:18 +00:00
ceriel
17352b8b8d
Added code to optimize multiplies with constants
1991-11-20 15:53:11 +00:00
eck
58355b7041
changed stackheight computation to top element size computation
1990-09-04 16:42:43 +00:00
eck
379511e232
added stackheight computation
1990-07-18 14:33:07 +00:00
eck
d3208e42ca
changed commented #define's into #undef's
1990-03-14 12:49:16 +00:00
ceriel
67e5a8e7a5
improved check for loop
1989-10-30 15:17:01 +00:00
ceriel
01f77a03af
Added CBO (commutative binary operator) to make it a little easier to
...
write reordering patterns
1989-10-20 11:59:52 +00:00
ceriel
929716a621
Improved label handling and handling of jumps to jumps
1989-02-06 14:39:08 +00:00
ceriel
41d0500d81
replaced relative includes by <> includes
1988-09-12 09:13:49 +00:00
ceriel
9bcd5473ad
minor adaption: index array with int, not long
1987-08-19 15:27:15 +00:00
ceriel
6c812387fd
Added copyright notice
1987-03-10 01:42:07 +00:00
em
c685aa11b5
set limit on optimization passes to prevent loop
...
in optimizer in case of bad table.
1986-09-09 13:10:15 +00:00
sater
b40016f6fd
added rcsid
1984-05-17 13:57:07 +00:00
sater
ac23d5c871
Initial revision
1984-05-17 13:42:36 +00:00