]> granicus.if.org Git - yasm/commit
Get rid of calc_bc_dist_func, the only times this was used was when
authorPeter Johnson <peter@tortall.net>
Wed, 7 Jun 2006 04:01:33 +0000 (04:01 -0000)
committerPeter Johnson <peter@tortall.net>
Wed, 7 Jun 2006 04:01:33 +0000 (04:01 -0000)
commita7b6526ea49ce62b252156a48f56ac24368f442d
tree3060af45602dc80c6fc154317a56af7ea24ba104
parent23be1d813f39f9cd79f5e16c5891e011eb7d80c2
Get rid of calc_bc_dist_func, the only times this was used was when
yasm_common_calc_bc_dist was used.  Rename yasm_common_calc_bc_dist to
yasm_calc_bc_dist, call it directly from the expr functions, and change
higher-level callers to boolean flags of whether to calculate bc distance
or not.

svn path=/branches/new-optimizer/; revision=1550
34 files changed:
libyasm/bc-align.c
libyasm/bc-data.c
libyasm/bc-incbin.c
libyasm/bc-insn.c
libyasm/bc-reserve.c
libyasm/bytecode.c
libyasm/bytecode.h
libyasm/coretype.h
libyasm/expr.c
libyasm/expr.h
libyasm/value.c
libyasm/value.h
modules/arch/x86/x86arch.c
modules/arch/x86/x86bc.c
modules/arch/x86/x86expr.c
modules/arch/x86/x86id.c
modules/dbgfmts/codeview/cv-symline.c
modules/dbgfmts/dwarf2/dwarf2-aranges.c
modules/dbgfmts/dwarf2/dwarf2-dbgfmt.c
modules/dbgfmts/dwarf2/dwarf2-info.c
modules/dbgfmts/dwarf2/dwarf2-line.c
modules/listfmts/nasm/nasm-listfmt.c
modules/objfmts/bin/bin-objfmt.c
modules/objfmts/coff/coff-objfmt.c
modules/objfmts/elf/elf-objfmt.c
modules/objfmts/elf/elf.c
modules/objfmts/xdf/xdf-objfmt.c
modules/parsers/gas/gas-bison.y
modules/parsers/nasm/nasm-bison.y
modules/preprocs/nasm/nasm-pp.c
tools/python-yasm/bytecode.pxi
tools/python-yasm/coretype.pxi
tools/python-yasm/expr.pxi
tools/python-yasm/value.pxi