summaryrefslogtreecommitdiff
path: root/compiler_and_linker/unsorted/LoopDetection.c
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2022-12-29 12:32:55 +0000
committerAsh Wolf <ninji@wuffs.org>2022-12-29 12:32:55 +0000
commitfcfbafff31869ed808bff0639532db1828660e92 (patch)
tree7425b346b031c4cb47a06250b3f6f950374d44ae /compiler_and_linker/unsorted/LoopDetection.c
parentbc1321735c15104ffad195e1509cab5f3a044260 (diff)
downloadMWCC-fcfbafff31869ed808bff0639532db1828660e92.tar.gz
MWCC-fcfbafff31869ed808bff0639532db1828660e92.zip
dump lots more code
Diffstat (limited to 'compiler_and_linker/unsorted/LoopDetection.c')
-rw-r--r--compiler_and_linker/unsorted/LoopDetection.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/compiler_and_linker/unsorted/LoopDetection.c b/compiler_and_linker/unsorted/LoopDetection.c
index 54bc180..5df2524 100644
--- a/compiler_and_linker/unsorted/LoopDetection.c
+++ b/compiler_and_linker/unsorted/LoopDetection.c
@@ -271,13 +271,11 @@ void insertpreheaderblock(Loop *loop) {
if (link->block->pcodeCount) {
pcode27 = link->block->lastPCode;
if (pcode27->op == PC_B) {
-#line 462
- CError_ASSERT(pcode27->args[0].kind == PCOp_LABEL);
+ CError_ASSERT(462, pcode27->args[0].kind == PCOp_LABEL);
if (pcode27->args[0].data.label.label->block == block28)
pcode27->args[0].data.label.label = preheader->labels;
} else if (pcode27->op == PC_BT || pcode27->op == PC_BF) {
-#line 474
- CError_ASSERT(pcode27->args[2].kind == PCOp_LABEL);
+ CError_ASSERT(474, pcode27->args[2].kind == PCOp_LABEL);
if (pcode27->args[2].data.label.label->block == block28)
pcode27->args[2].data.label.label = preheader->labels;
} else if (pcode27->op == PC_BCTR) {
@@ -297,8 +295,7 @@ void insertpreheaderblock(Loop *loop) {
}
}
} else {
-#line 505
- CError_ASSERT(link->block->nextBlock == block28);
+ CError_ASSERT(505, link->block->nextBlock == block28);
}
}