diff options
author | H. Peter Anvin <hpa@zytor.com> | 2019-09-23 16:40:03 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2019-09-23 16:40:03 -0700 |
commit | 8571f06061b47471a340e350fdfcd804098637d6 (patch) | |
tree | c255ed0e90a4b716e98d6c9b7635bb88b482e212 /include/nasmlib.h | |
parent | f7dbdb2e136db99051b14403a0f29c5155bbf7d8 (diff) | |
download | nasm-pp-inline.tar.gz nasm-pp-inline.tar.xz nasm-pp-inline.zip |
preprocessor: major cleanups; inline text into Tokenpp-inline
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>
Diffstat (limited to 'include/nasmlib.h')
0 files changed, 0 insertions, 0 deletions