From 6b40d77897b948fb2f02ba5e64b02ad4c0ba3bbf Mon Sep 17 00:00:00 2001 From: Stefan Kempf Date: Fri, 28 Dec 2007 12:32:56 +0000 Subject: Pull from master repo: Use sclass and soffset to access hdr.h_sclass and hdr.h_offset. --- usr.bin/pcc/powerpc/code.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin/pcc') diff --git a/usr.bin/pcc/powerpc/code.c b/usr.bin/pcc/powerpc/code.c index 24291be59c6..74a6025b37d 100644 --- a/usr.bin/pcc/powerpc/code.c +++ b/usr.bin/pcc/powerpc/code.c @@ -1,4 +1,4 @@ -/* $OpenBSD: code.c,v 1.6 2007/12/22 14:05:04 stefan Exp $ */ +/* $OpenBSD: code.c,v 1.7 2007/12/28 12:32:55 stefan Exp $ */ /* * Copyright (c) 2003 Anders Magnusson (ragge@ludd.luth.se). * All rights reserved. @@ -144,8 +144,8 @@ bfcode(struct symtab **a, int n) int reg = R3; for (i=0; i < m; i++) { NODE *r, *p; - a[i]->hdr.h_sclass = PARAM; - a[i]->hdr.h_offset = NOOFFSET; + a[i]->sclass = PARAM; + a[i]->soffset = NOOFFSET; oalloc(a[i], &passedargoff); spname = a[i]; p = buildtree(NAME, NIL, NIL); -- cgit v1.2.3