Calls of which the actual and formal parameters do not match

are no longer substituted inline.
This commit is contained in:
bal
1985-02-20 15:01:02 +00:00
parent 2a4b3fd616
commit 469d075e77
3 changed files with 9 additions and 6 deletions

View File

@@ -124,9 +124,8 @@ pass2(cnam,space)
ccf = openfile(ccname,"r");
while ((c = getcall(cf)) != (call_p) 0) {
/* process all calls */
if (SUITABLE(c->cl_proc)) {
if (SUITABLE(c->cl_proc) && anal_params(c)) {
/* called proc. may be put in line */
anal_params(c);
/* see which parameters may be put in line */
assign_ratio(c); /* assign a rank */
a = abstract(c); /* abstract essential info */