Skip to content
Commit 84d5768d authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

MemProfiler::insertDynamicShadowAtFunctionEntry - use cast<> instead of...

MemProfiler::insertDynamicShadowAtFunctionEntry - use cast<> instead of dyn_cast<> for dereferenced pointer. NFCI.

We're immediately dereferencing the casted pointer, so use cast<> which will assert instead of dyn_cast<> which can return null.

Fixes static analyzer warning.
parent 52e44897
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment