This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 5/8] Remove magic numbers in m68k-dis.c:print_insn_arg


On Tue, Jan 10, 2017 at 12:26:15PM +0000, Yao Qi wrote:
> 	* m68k-dis.c (enum print_insn_arg_error): New.
> 	(NEXTBYTE): Replace -3 with
> 	PRINT_INSN_ARG_MEMORY_ERROR.
> 	(NEXTULONG): Likewise.
> 	(NEXTSINGLE): Likewise.
> 	(NEXTDOUBLE): Likewise.
> 	(NEXTDOUBLE): Likewise.
> 	(NEXTPACKED): Likewise.
> 	(FETCH_DATA): Update comments.
> 	(print_insn_arg): Update comments. Replace magic numbers with
> 	enum.
> 	(match_insn_m68k): Likewise.

OK.

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]