summaryrefslogtreecommitdiff
path: root/compiler_and_linker/unsorted/FuncLevelAsmPPC.c
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-01-15 12:14:05 +0000
committerAsh Wolf <ninji@wuffs.org>2023-01-15 12:14:05 +0000
commit35d488e972a9dd75ce3867c000405f128b79c615 (patch)
treee3319a23d9aa0d4725f88a99fdd5131488a334a9 /compiler_and_linker/unsorted/FuncLevelAsmPPC.c
parent8078e7f897aaae9b492b22475060052d68b9c547 (diff)
downloadMWCC-35d488e972a9dd75ce3867c000405f128b79c615.tar.gz
MWCC-35d488e972a9dd75ce3867c000405f128b79c615.zip
reorganise things a bit to align further with the actual names/structure
Diffstat (limited to 'compiler_and_linker/unsorted/FuncLevelAsmPPC.c')
-rw-r--r--compiler_and_linker/unsorted/FuncLevelAsmPPC.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler_and_linker/unsorted/FuncLevelAsmPPC.c b/compiler_and_linker/unsorted/FuncLevelAsmPPC.c
index 5cdab02..dead030 100644
--- a/compiler_and_linker/unsorted/FuncLevelAsmPPC.c
+++ b/compiler_and_linker/unsorted/FuncLevelAsmPPC.c
@@ -42,7 +42,7 @@ void setup_assembly_argument(Object *obj, short reg) {
short regLo;
short regHi;
if (reg < 10) {
- if (copts.little_endian) {
+ if (copts.littleendian) {
regLo = reg;
regHi = reg + 1;
} else {
@@ -198,7 +198,7 @@ void Assembler(Object *func) {
if (fatalerrors)
return;
- if (copts.isGeneratingDebugInfo)
+ if (copts.filesyminfo)
CPrep_SetSourceFile(&cparser_fileoffset);
sm_section = SECT_TEXT;
@@ -372,7 +372,7 @@ void Assembler(Object *func) {
func->section = sm_section;
- if (copts.isGeneratingDebugInfo)
+ if (copts.filesyminfo)
symdeclend = CPrep_GetFileOffsetInfo(&cparser_fileoffset);
copts.peephole = 0;