]> granicus.if.org Git - yasm/commit
In preparation for further work on optimizing multiple, break multiple apart
authorPeter Johnson <peter@tortall.net>
Tue, 20 Jun 2006 06:23:07 +0000 (06:23 -0000)
committerPeter Johnson <peter@tortall.net>
Tue, 20 Jun 2006 06:23:07 +0000 (06:23 -0000)
commit9445734d22710c5de63e9656be60fd312da78235
tree0071895115e9d8be33654abf728c317d6e627d68
parentc2de3a16675595b01dbe6b01772aae4b1007f8db
In preparation for further work on optimizing multiple, break multiple apart
from bytecode.len into bytecode.mult_int.  Add new function
yasm_bc_next_offset() to handle the most common use case of bytecode.len,
figuring out the following bytecode's offset.

svn path=/branches/new-optimizer/; revision=1586
15 files changed:
libyasm/bc-int.h
libyasm/bytecode.c
libyasm/bytecode.h
libyasm/section.c
libyasm/value.c
modules/dbgfmts/codeview/cv-dbgfmt.c
modules/dbgfmts/dwarf2/dwarf2-aranges.c
modules/dbgfmts/dwarf2/dwarf2-dbgfmt.c
modules/dbgfmts/dwarf2/dwarf2-line.c
modules/dbgfmts/stabs/stabs-dbgfmt.c
modules/objfmts/bin/bin-objfmt.c
modules/objfmts/coff/coff-objfmt.c
modules/objfmts/elf/elf-objfmt.c
modules/objfmts/xdf/xdf-objfmt.c
tools/python-yasm/bytecode.pxi