getCalledFunction() is null, so this would crash. Replace crash with an error on unsupported call. llvm-svn: 243461