diff options
-rw-r--r-- | usr.bin/pcc/i386/order.c | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/usr.bin/pcc/i386/order.c b/usr.bin/pcc/i386/order.c index 7164e8fc71b..95be8ab4461 100644 --- a/usr.bin/pcc/i386/order.c +++ b/usr.bin/pcc/i386/order.c @@ -1,4 +1,4 @@ -/* $OpenBSD: order.c,v 1.3 2007/11/16 09:00:12 otto Exp $ */ +/* $OpenBSD: order.c,v 1.4 2007/12/09 18:53:02 ragge Exp $ */ /* * Copyright (c) 2003 Anders Magnusson (ragge@ludd.luth.se). * All rights reserved. @@ -114,18 +114,6 @@ shumul(NODE *p) } /* - * Rewrite increment/decrement operation. - */ -int -setincr(NODE *p) -{ - if (x2debug) - printf("setincr(%p)\n", p); - - return(0); -} - -/* * Rewrite operations on binary operators (like +, -, etc...). * Called as a result of table lookup. */ @@ -296,3 +284,12 @@ livecall(NODE *p) return kflag ? &r[0] : &r[1]; } + +/* + * Signal whether the instruction is acceptable for this target. + */ +int +acceptable(struct optab *op) +{ + return 1; +} |