1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 17:29:50 +00:00

Add an additional precondition check for safety.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4038 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2009-08-19 10:14:14 +00:00
parent 824ab8b137
commit 2e8d62cf88

View File

@ -1385,6 +1385,14 @@ unsigned OptTransfers3 (CodeSeg* S)
*/ */
I = Xfer; I = Xfer;
State = Searching; State = Searching;
/* Does this insn have a label? */
} else if (CE_HasLabel (E)) {
/* Too complex to handle - bail out */
I = Xfer;
State = Searching;
} }
break; break;