diff options
Diffstat (limited to 'utils/qc/machcap.c')
| -rw-r--r-- | utils/qc/machcap.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/utils/qc/machcap.c b/utils/qc/machcap.c new file mode 100644 index 00000000..5fae5731 --- /dev/null +++ b/utils/qc/machcap.c @@ -0,0 +1,16 @@ +#include "gc.h" + +/* default, like old cc */ +int +machcap(Node *n) +{ + if(n == Z) + return 0; /* test */ + switch(n->op){ + case OCOMMA: + case OCOND: + case OLIST: + return 1; + } + return 0; +} |
