summaryrefslogtreecommitdiff
path: root/compiler_and_linker/unsorted/FuncLevelAsmPPC.c
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-01-20 12:25:38 +0000
committerAsh Wolf <ninji@wuffs.org>2023-01-20 12:25:38 +0000
commit0b23bc6179b7a8e6c8664374d7d6f66fe9c9bdcb (patch)
tree1114a5da66f23765fddfbba3ecdbd3f2ee0356eb /compiler_and_linker/unsorted/FuncLevelAsmPPC.c
parent0905072b3ccfcb394b1dca2405a55cff4e2b9271 (diff)
downloadMWCC-0b23bc6179b7a8e6c8664374d7d6f66fe9c9bdcb.tar.gz
MWCC-0b23bc6179b7a8e6c8664374d7d6f66fe9c9bdcb.zip
add PPCError error code enum
Diffstat (limited to 'compiler_and_linker/unsorted/FuncLevelAsmPPC.c')
-rw-r--r--compiler_and_linker/unsorted/FuncLevelAsmPPC.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/compiler_and_linker/unsorted/FuncLevelAsmPPC.c b/compiler_and_linker/unsorted/FuncLevelAsmPPC.c
index 8b45459..27528b8 100644
--- a/compiler_and_linker/unsorted/FuncLevelAsmPPC.c
+++ b/compiler_and_linker/unsorted/FuncLevelAsmPPC.c
@@ -191,7 +191,7 @@ void Assembler(Object *func) {
CodeGen_InitialSanityCheck();
if (func->qual & Q_INLINE)
- PPCError_Warning(173);
+ PPCError_Warning(PPCErrorStr173);
CheckCLabels();
@@ -265,7 +265,7 @@ void Assembler(Object *func) {
FuncAsm_AddEntryPoint(stmt, pclastblock);
} else if (ia->opcode == IADirective_FrFree) {
if (flag16)
- PPCError_Error(188);
+ PPCError_Error(PPCErrorStr188);
else
flag16 = 1;
@@ -362,11 +362,11 @@ void Assembler(Object *func) {
if (!asm_alloc_flags[1] && needs_frame()) {
if (asm_alloc_flags[3]) {
if (!asm_alloc_flags[5] || !asm_alloc_flags[6])
- PPCError_Warning(187, "blr");
+ PPCError_Warning(PPCErrorStr187, "blr");
if (asm_alloc_flags[8])
- PPCError_Warning(186);
+ PPCError_Warning(PPCErrorStr186);
} else {
- PPCError_Warning(185, "blr");
+ PPCError_Warning(PPCErrorStr185, "blr");
}
}