summaryrefslogtreecommitdiff
path: root/src/cmd/cc/pgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/cc/pgen.c')
-rw-r--r--src/cmd/cc/pgen.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cmd/cc/pgen.c b/src/cmd/cc/pgen.c
index 3a686102f..b06aa996d 100644
--- a/src/cmd/cc/pgen.c
+++ b/src/cmd/cc/pgen.c
@@ -528,6 +528,7 @@ loop:
case OSET:
case OUSED:
+ case OPREFETCH:
usedset(n->left, o);
break;
}
@@ -542,6 +543,10 @@ usedset(Node *n, int o)
return;
}
complex(n);
+ if(o == OPREFETCH) {
+ gprefetch(n);
+ return;
+ }
switch(n->op) {
case OADDR: /* volatile */
gins(ANOP, n, Z);