Use frame address if arg pointer isn't available.

This commit is contained in:
Ken Raeburn
1992-07-14 22:07:47 +00:00
parent 23c156a2ad
commit 7b8ca0a03f
2 changed files with 5 additions and 0 deletions

View File

@@ -410,6 +410,8 @@ frame_args_address (fi, must_be_correct)
ap = 0;
else
ap = read_register (G14_REGNUM);
if (ap == 0)
ap = fi->frame;
}
fi->arg_pointer = ap; /* Cache it for next time */
return ap;