Functions may contain instructions other than call.

The functions walked by validateDescriptorAccesses() can contain instructions that are not instances of CallInst.