Tartarus CVS: ciel chris

tartarus-commits-admin@lists.tartarus.org tartarus-commits-admin@lists.tartarus.org
Tue, 12 Mar 2002 22:20:15 +0000


CVSROOT:	/usr/data/cvs
Module name:	ciel
Changes by:	chris	02/03/12 22:20:15

Modified files:
	.              : decode.cc emulation.cc instructions.cc 
	include        : decode.h instruction.h 

Log message:
Added fields to the decoded instruction struct to give the address of the
original instruction.  do_call now uses this to calculate the return address
rather than the current pc value.
There's now a function to decode an entire function, replacing each jump
target with an index into the decoded instructions.  It gives up for jumps
outside the function or computed jumps.