+/*
+ * Evaluate an argument list without concern for matching the formal
+ * parameters of a function in type or quantity. Useful for functions
+ * like C's printf().
+ */
+
+private integer unsafe_evalargs(proc, arglist)
+Symbol proc;
+Node arglist;
+{
+ Node p;
+ Integer count;
+
+ count = 0;
+ for (p = arglist; p != nil; p = p->value.arg[1]) {
+ assert(p->op == O_COMMA);
+ eval(p->value.arg[0]);
+ ++count;
+ }
+ return count;
+}
+