Given that Jupiter is mostly gas, surely it would both be pulled apart tidally and evaporate as it approached the sun.
If that is the case then there would be no impact at all merely a diffuse addition to the Sun's mass.
I suspect the same might be true of almost any planet - gaseous otor not.