From fcfbafff31869ed808bff0639532db1828660e92 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Thu, 29 Dec 2022 12:32:55 +0000 Subject: dump lots more code --- compiler_and_linker/unsorted/Alias.c | 30 ++++++++++-------------------- 1 file changed, 10 insertions(+), 20 deletions(-) (limited to 'compiler_and_linker/unsorted/Alias.c') diff --git a/compiler_and_linker/unsorted/Alias.c b/compiler_and_linker/unsorted/Alias.c index 521421d..4a2f176 100644 --- a/compiler_and_linker/unsorted/Alias.c +++ b/compiler_and_linker/unsorted/Alias.c @@ -164,8 +164,7 @@ void add_alias_member(Alias *parent, Alias *child) { } Alias *make_alias_set_from_IR(void) { -#line 333 - CError_FATAL(); + CError_FATAL(333); return NULL; } @@ -256,8 +255,7 @@ static int addresspropagatestouse(int candidateID, int useID) { return 0; } -#line 478 - CError_ASSERT(object->otype == OT_OBJECT); + CError_ASSERT(478, object->otype == OT_OBJECT); if ((candidate_pcode->flags & (fPCodeFlag2 | fPCodeFlag4)) && (candidate_pcode->flags & fPCodeFlag2000000)) { reg = candidate_pcode->args[1].data.reg.reg; @@ -268,8 +266,7 @@ static int addresspropagatestouse(int candidateID, int useID) { return 0; object = object->u.var.realObj; -#line 495 - CError_ASSERT(object->otype == OT_OBJECT); + CError_ASSERT(495, object->otype == OT_OBJECT); offset = 0; } else if (candidate_pcode->op == PC_ADDI) { if (!candidate_pcode->alias && object) @@ -281,8 +278,7 @@ static int addresspropagatestouse(int candidateID, int useID) { offset = 0; flag24 = 1; } else { -#line 509 - CError_FATAL(); + CError_FATAL(509); } if ( @@ -309,8 +305,7 @@ static int addresspropagatestouse(int candidateID, int useID) { if (use_pcode->argCount < 3) return 1; -#line 543 - CError_ASSERT(use_pcode->args[1].kind == PCOp_REGISTER); + CError_ASSERT(543, use_pcode->args[1].kind == PCOp_REGISTER); if (candidate_pcode->block == use_pcode->block && precedes(candidate_pcode, use_pcode)) { for (scan = candidate_pcode->nextPCode; scan && scan != use_pcode; scan = scan->nextPCode) { @@ -361,8 +356,7 @@ static int addresspropagatestouse(int candidateID, int useID) { } } -#line 598 - CError_ASSERT(object != NULL); + CError_ASSERT(598, object != NULL); if (use_pcode->op == PC_ADDI || use_pcode->op == PC_ADD || use_pcode->op == PC_ADDIS) { if (use_pcode->args[0].data.reg.reg < n_real_registers[RegClass_GPR] && !is_safe_const(object)) @@ -653,8 +647,7 @@ static Boolean may_alias_alias(Alias *a, Alias *b) { case (AliasType2 * 3) + AliasType2: return (a == b) || !bitvectorintersectionisempty(a->vec24, b->vec24, n_aliases); default: -#line 1054 - CError_FATAL(); + CError_FATAL(1054); return 1; } } @@ -705,18 +698,15 @@ void update_alias_value(Alias *alias, PCode *pcode) { case AliasType0: killmemory(alias, pcode); for (member = alias->children; member; member = member->nextChild) { -#line 1152 - CError_ASSERT(member->parent->type == AliasType2); + CError_ASSERT(1152, member->parent->type == AliasType2); killmemory(member->parent, NULL); } for (member = alias->parents; member; member = member->nextParent) { -#line 1157 - CError_ASSERT(member->child->type == AliasType1); + CError_ASSERT(1157, member->child->type == AliasType1); killmemory(member->child, NULL); for (member2 = member->child->children; member2; member2 = member2->nextChild) { if (member2->parent != alias) { -#line 1163 - CError_ASSERT(member2->parent->type == AliasType2); + CError_ASSERT(1163, member2->parent->type == AliasType2); killmemory(member2->parent, NULL); } } -- cgit v1.2.3