nasm/asm
H. Peter Anvin 8571f06061 preprocessor: major cleanups; inline text into Token
Major cleanups of the preprocessor. In particular, the
block-allocation of Token is pretty ridiculous since nearly every
token requires a text allocation anyway. Change the definition of
Token so that only very long tokens (48+ characters on 64-bit systems)
need to be stored out of line.

If malloc() preserves alignment (XXX: glibc doesn't) then this means
that each Token will fit in a cache line.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2019-09-23 16:40:03 -07:00
..
assemble.c assemble: fix too aggressive dropping of overflow warnings 2019-09-12 18:20:07 -07:00
assemble.h Add a generic pragma-handling infrastructure 2017-03-07 21:32:37 -08:00
directiv.c Drop unnecessary EXTERN symbols 2019-09-12 20:21:03 -04:00
directiv.dat Drop unnecessary EXTERN symbols 2019-09-12 20:21:03 -04:00
error.c error: replace nasm_verror() indirection with preproc callback 2019-08-28 19:02:47 -07:00
eval.c eval: don't try to poke *opflags if opflags is NULL 2019-09-12 18:34:14 -07:00
eval.h Clean up the handling of various passes 2018-12-18 11:14:59 -08:00
exprdump.c exprlib: move dumping code to a separate C file 2017-02-28 18:13:43 -08:00
exprlib.c exprlib: move dumping code to a separate C file 2017-02-28 18:13:43 -08:00
float.c preproc: standard macros now C-safe, %aliases off, fix %? recursion 2019-08-27 16:42:41 -07:00
float.h
labels.c Change LBL_NONE to LBL_none 2019-09-12 20:26:23 -04:00
listing.c listing: encapsulate the list_options encoding, make more comprehensive 2019-08-10 18:04:04 -07:00
listing.h listing: add the -L+ option to enable all listing options 2019-08-19 13:11:34 -07:00
nasm.c error: replace nasm_verror() indirection with preproc callback 2019-08-28 19:02:47 -07:00
parser.c masm.mac, parser: VERY limited MASM emulation package 2019-08-14 15:44:50 -07:00
parser.h Clean up the handling of various passes 2018-12-18 11:14:59 -08:00
phash.pl
pptok.dat preproc: add %ifusable and %ifusing directives 2019-09-12 19:39:48 -07:00
pptok.pl pptok.pl: don't leak internal codes into pptok.c 2019-08-15 01:37:48 -07:00
pragma.c Add %pragma list options 2019-08-10 06:45:12 -07:00
preproc-nop.c error: replace nasm_verror() indirection with preproc callback 2019-08-28 19:02:47 -07:00
preproc.c preprocessor: major cleanups; inline text into Token 2019-09-23 16:40:03 -07:00
preproc.h --no-line: new option to ignore %line directives 2018-12-14 12:22:11 -08:00
quote.c quote: improve comment 2019-06-06 17:32:44 -07:00
quote.h Merge branch 'master' of ssh://repo.or.cz/nasm 2019-06-06 16:26:22 -07:00
rdstrnum.c rdstrnum: Make sure we dont shift out of bound 2018-10-29 22:25:16 +03:00
segalloc.c segalloc: DO NOT reset segment numbers 2018-06-14 16:42:03 -07:00
srcfile.c Remove #includes already provided by "compiler.h" 2018-12-27 12:45:44 -08:00
srcfile.h srcfile: simplify and make most functions inline 2018-12-10 23:28:01 -08:00
stdscan.c preprocessor: major cleanups; inline text into Token 2019-09-23 16:40:03 -07:00
stdscan.h
strfunc.c
tokens.dat preprocessor: major cleanups; inline text into Token 2019-09-23 16:40:03 -07:00
tokhash.pl preprocessor: major cleanups; inline text into Token 2019-09-23 16:40:03 -07:00
warnings.pl warnings.pl: remove one more instance of "scalar(%hash)" 2019-08-09 16:20:40 -07:00