]> granicus.if.org Git - yasm/commit
Change intnum so it stores long instead of unsigned long; this allows
authorPeter Johnson <peter@tortall.net>
Thu, 26 Jul 2007 06:55:27 +0000 (06:55 -0000)
committerPeter Johnson <peter@tortall.net>
Thu, 26 Jul 2007 06:55:27 +0000 (06:55 -0000)
commit326303113c615717b9fb399162874279225e23b8
treec64537bdecad7accec3c8e291e3333413f14ecbb
parent36cdd57be284e60685a03c6016b3268711a21eb8
Change intnum so it stores long instead of unsigned long; this allows
intnum to not allocate bitvectors for "most" negative numbers.

We pay a bit more in conversion, but save big in terms of memory and
malloc/free calls
(e.g. ~10,000 allocations and ~250K bytes for elf-x86id.asm test).

svn path=/trunk/yasm/; revision=1900
libyasm/intnum.c