--- np2/i386c/ia32/resolve.c 2004/02/20 16:09:04 1.6 +++ np2/i386c/ia32/resolve.c 2005/03/12 12:32:54 1.9 @@ -1,4 +1,4 @@ -/* $Id: resolve.c,v 1.6 2004/02/20 16:09:04 monaka Exp $ */ +/* $Id: resolve.c,v 1.9 2005/03/12 12:32:54 monaka Exp $ */ /* * Copyright (c) 2002-2003 NONAKA Kimihiro @@ -12,8 +12,6 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. The name of the author may not be used to endorse or promote products - * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES @@ -35,24 +33,11 @@ UINT32 (*calc_ea_dst_tbl[0x100])(void); UINT32 (*calc_ea32_dst_tbl[0x100])(void); -#if defined(DEBUG) || !defined(IA32_INLINE_CALC_EA) -UINT32 -calc_ea_dst(UINT32 op) -{ - - __ASSERT(op < 0x100); - - if (!CPU_INST_AS32) - return ((*calc_ea_dst_tbl[op])() & 0xffff); - return (*calc_ea32_dst_tbl[op])(); -} -#endif /* IA32_INLINE_CALC_EA */ - /* * common */ -UINT32 +static UINT32 ea_nop(void) {