svn commit: r1550 - in branches/new-optimizer: modules/arch/x86 modules/dbgfmts/codeview modules/dbgfmts/dwarf2 modules/listfmts/nasm modules/objfmts/bin modules/objfmts/coff modules/objfmts/elf modules/objfmts/xdf modules/parsers/gas modules/parsers/nasm modules/preprocs/nasm tools/python-yasm
peter at tortall.net
peter at tortall.net
Tue Jun 6 21:01:39 PDT 2006
Author: peter
Date: Tue Jun 6 21:01:33 2006
New Revision: 1550
Modified:
branches/new-optimizer/libyasm/bc-align.c
branches/new-optimizer/libyasm/bc-data.c
branches/new-optimizer/libyasm/bc-incbin.c
branches/new-optimizer/libyasm/bc-insn.c
branches/new-optimizer/libyasm/bc-reserve.c
branches/new-optimizer/libyasm/bytecode.c
branches/new-optimizer/libyasm/bytecode.h
branches/new-optimizer/libyasm/coretype.h
branches/new-optimizer/libyasm/expr.c
branches/new-optimizer/libyasm/expr.h
branches/new-optimizer/libyasm/value.c
branches/new-optimizer/libyasm/value.h
branches/new-optimizer/modules/arch/x86/x86arch.c
branches/new-optimizer/modules/arch/x86/x86bc.c
branches/new-optimizer/modules/arch/x86/x86expr.c
branches/new-optimizer/modules/arch/x86/x86id.c
branches/new-optimizer/modules/dbgfmts/codeview/cv-symline.c
branches/new-optimizer/modules/dbgfmts/dwarf2/dwarf2-aranges.c
branches/new-optimizer/modules/dbgfmts/dwarf2/dwarf2-dbgfmt.c
branches/new-optimizer/modules/dbgfmts/dwarf2/dwarf2-info.c
branches/new-optimizer/modules/dbgfmts/dwarf2/dwarf2-line.c
branches/new-optimizer/modules/listfmts/nasm/nasm-listfmt.c
branches/new-optimizer/modules/objfmts/bin/bin-objfmt.c
branches/new-optimizer/modules/objfmts/coff/coff-objfmt.c
branches/new-optimizer/modules/objfmts/elf/elf-objfmt.c
branches/new-optimizer/modules/objfmts/elf/elf.c
branches/new-optimizer/modules/objfmts/xdf/xdf-objfmt.c
branches/new-optimizer/modules/parsers/gas/gas-bison.y
branches/new-optimizer/modules/parsers/nasm/nasm-bison.y
branches/new-optimizer/modules/preprocs/nasm/nasm-pp.c
branches/new-optimizer/tools/python-yasm/bytecode.pxi
branches/new-optimizer/tools/python-yasm/coretype.pxi
branches/new-optimizer/tools/python-yasm/expr.pxi
branches/new-optimizer/tools/python-yasm/value.pxi
Changeset:
http://www.tortall.net/projects/yasm/changeset/1550
Log:
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.
More information about the yasm-cvs
mailing list