33d392088d
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1665 6952d904-891a-0410-993b-d76249ca496b
35 lines
919 B
Diff
35 lines
919 B
Diff
Index: coptind.c
|
|
===================================================================
|
|
--- coptind.c (revision 3903)
|
|
+++ coptind.c (working copy)
|
|
@@ -406,17 +406,12 @@
|
|
/* Remember, we had changes */
|
|
++Changes;
|
|
|
|
- /* Done */
|
|
- continue;
|
|
-
|
|
- }
|
|
-
|
|
/* Check if both are conditional branches, and the condition of
|
|
* the second is the inverse of that of the first. In this case,
|
|
* the second branch will never be taken, and we may jump directly
|
|
* to the instruction behind this one.
|
|
*/
|
|
- if ((E->Info & OF_CBRA) != 0 && (N->Info & OF_CBRA) != 0) {
|
|
+ } else if ((E->Info & OF_CBRA) != 0 && (N->Info & OF_CBRA) != 0) {
|
|
|
|
CodeEntry* X; /* Instruction behind N */
|
|
CodeLabel* LX; /* Label attached to X */
|
|
@@ -447,10 +442,6 @@
|
|
|
|
/* Remember, we had changes */
|
|
++Changes;
|
|
-
|
|
- /* Done */
|
|
- continue;
|
|
-
|
|
}
|
|
}
|
|
|