From bc1321735c15104ffad195e1509cab5f3a044260 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 14 Dec 2022 01:00:56 +0000 Subject: rename some stuff and use an enum for RegClass --- includes/compiler/LiveInfo.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'includes/compiler/LiveInfo.h') diff --git a/includes/compiler/LiveInfo.h b/includes/compiler/LiveInfo.h index 6f70c59..9d0c2f9 100644 --- a/includes/compiler/LiveInfo.h +++ b/includes/compiler/LiveInfo.h @@ -4,15 +4,15 @@ #include "compiler/common.h" typedef struct LiveInfo { - UInt32 *vec0; // use - UInt32 *vec4; // def - UInt32 *vec8; // in - UInt32 *vecC; // out + UInt32 *use; + UInt32 *def; + UInt32 *in; + UInt32 *out; } LiveInfo; extern LiveInfo *liveinfo; extern void computelivevariables(Object *proc); -extern int dead(PCode *instr, char rclass, UInt32 *vec); +extern int dead(PCode *instr, RegClass rclass, UInt32 *vec); #endif -- cgit v1.2.3