]> git.sur5r.net Git - cc65/commit - src/cc65/coptstop.c
Change the OptStackOps function so that it adjusts the instruction pointer
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 25 Apr 2010 21:51:59 +0000 (21:51 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 25 Apr 2010 21:51:59 +0000 (21:51 +0000)
commit77bfcc1ff0a88e0430f077d22b6fad07c7d0c86b
tree74033e2ac3ca478509443d2c2a8a3d29f19a0ab9
parentc63ecc8c2812679c639289ae6da053d6f6166e07
Change the OptStackOps function so that it adjusts the instruction pointer
after changing code. Without this correction, the insn pointer may be wrong
after one of the subfunctions has changed code, which may cause a valid
sequence not to be detected. This change (when proven good) may also go into
2.13.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4649 b7a2c559-68d2-44c3-8de9-860c34a00d81
src/cc65/coptstop.c