From 25bab8b1fb2fc851ea3f1f630b3de65ca6afdc22 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 14 Dec 2022 00:16:59 +0000 Subject: haha it's been a while since i last committed, hasn't it --- compiler_and_linker/unsorted/InlineAsmPPC.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler_and_linker/unsorted/InlineAsmPPC.c') diff --git a/compiler_and_linker/unsorted/InlineAsmPPC.c b/compiler_and_linker/unsorted/InlineAsmPPC.c index ead84d7..e6e857b 100644 --- a/compiler_and_linker/unsorted/InlineAsmPPC.c +++ b/compiler_and_linker/unsorted/InlineAsmPPC.c @@ -22,11 +22,11 @@ #include "compiler/PCodeUtilities.h" #include "compiler/StackFrame.h" #include "compiler/CompilerTools.h" +#include "compiler/Alias.h" // TODO: move me extern int countexceptionactionregisters(ExceptionAction *); extern void noteexceptionactionregisters(ExceptionAction *, PCodeArg *); -extern void *make_alias(Object *obj, SInt32 offset, SInt32 size); char asm_alloc_flags[10]; unsigned char sm_section; @@ -2090,7 +2090,7 @@ static PCode *InlineAsm_TranslateIRtoPCodePPC(InlineAsm *ia, int argcount, UInt8 dest->data.mem.obj = src->u.obj.obj; dest->data.mem.offset = src->u.obj.offset; if (pc->flags & (fPCodeFlag2 | fPCodeFlag4 | fPCodeFlag20000 | fPCodeFlag40000)) { - pc->_18 = make_alias(dest->data.mem.obj, dest->data.mem.offset, nbytes_loaded_or_stored_by(pc)); + pc->alias = make_alias(dest->data.mem.obj, dest->data.mem.offset, nbytes_loaded_or_stored_by(pc)); if (is_volatile_object(dest->data.mem.obj)) pc->flags |= fIsVolatile; if (OBJ_GET_TARGET_CONST(dest->data.mem.obj)) -- cgit v1.2.3