From: Armin R. <ar...@us...> - 2002-10-04 10:30:55
|
Update of /cvsroot/psyco/psyco/py-utils In directory usw-pr-cvs1:/tmp/cvs-serv32549/py-utils Modified Files: xam.py Log Message: added a flag for registers that cannot contain negative values Index: xam.py =================================================================== RCS file: /cvsroot/psyco/psyco/py-utils/xam.py,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** xam.py 3 Oct 2002 14:42:45 -0000 1.11 --- xam.py 4 Oct 2002 10:30:51 -0000 1.12 *************** *** 291,295 **** text = "Run-time source," reg = self.source >> 28 ! stack = self.source & 0x07FFFFFC if 0 <= reg < 8: text += " in register %s" % self.REG_NAMES[reg].upper() --- 291,295 ---- text = "Run-time source," reg = self.source >> 28 ! stack = self.source & 0x03FFFFFC if 0 <= reg < 8: text += " in register %s" % self.REG_NAMES[reg].upper() *************** *** 299,302 **** --- 299,304 ---- text += " in stack [ESP+0x%x] or from top %d" % \ (self.stackdepth - stack, stack) + if self.source & 0x04000000: + text += " non-negative" if not (self.source & 0x08000000): text += " holding a reference" |