summaryrefslogtreecommitdiff
path: root/utils/qc
diff options
context:
space:
mode:
authorforsyth <forsyth@vitanuova.com>2011-04-02 11:51:26 +0100
committerforsyth <forsyth@vitanuova.com>2011-04-02 11:51:26 +0100
commit41858f31398f2a5187173202c165df7717217c89 (patch)
tree3741f1c89e02700fe4f96f525e23f75f26cc1ce7 /utils/qc
parent48c2bcd8842a77d6fca4a18505e622e9a9d3d38b (diff)
20110402-1151
Diffstat (limited to 'utils/qc')
-rw-r--r--utils/qc/peep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/qc/peep.c b/utils/qc/peep.c
index 278ce8b7..89fc431a 100644
--- a/utils/qc/peep.c
+++ b/utils/qc/peep.c
@@ -319,6 +319,7 @@ uniqs(Reg *r)
* if the system forces R0 to be zero,
* convert references to $0 to references to R0.
*/
+int
regzer(Adr *a)
{
if(R0ISZERO) {
@@ -333,6 +334,7 @@ regzer(Adr *a)
return 0;
}
+int
regtyp(Adr *a)
{
@@ -526,6 +528,7 @@ copyprop(Reg *r0)
return copy1(v1, v2, r0->s1, 0);
}
+int
copy1(Adr *v1, Adr *v2, Reg *r, int f)
{
int t;