diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-01-20 12:25:38 +0000 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-01-20 12:25:38 +0000 |
commit | 0b23bc6179b7a8e6c8664374d7d6f66fe9c9bdcb (patch) | |
tree | 1114a5da66f23765fddfbba3ecdbd3f2ee0356eb /compiler_and_linker/unsorted/FuncLevelAsmPPC.c | |
parent | 0905072b3ccfcb394b1dca2405a55cff4e2b9271 (diff) | |
download | MWCC-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.c | 10 |
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"); } } |