summaryrefslogtreecommitdiff
path: root/usr.bin/pcc/arm/order.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/pcc/arm/order.c')
-rw-r--r--usr.bin/pcc/arm/order.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.bin/pcc/arm/order.c b/usr.bin/pcc/arm/order.c
index 09f4bbcde60..16798daec77 100644
--- a/usr.bin/pcc/arm/order.c
+++ b/usr.bin/pcc/arm/order.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: order.c,v 1.1 2007/11/25 18:45:06 otto Exp $ */
+/* $OpenBSD: order.c,v 1.2 2007/12/22 12:38:56 stefan Exp $ */
/*
* Copyright (c) 2007 Gregory McGarry (g.mcgarry@ieee.org).
* Copyright (c) 2003 Anders Magnusson (ragge@ludd.luth.se).
@@ -291,3 +291,12 @@ livecall(NODE *p)
return &r[4 - num];
}
+
+/*
+ * Signal whether the instruction is acceptable for this target.
+ */
+int
+acceptable(struct optab *op)
+{
+ return 1;
+}