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

[AsmPrinter] AIXException::endFunction - use cast<> instead of dyn_cast<> to...

[AsmPrinter] AIXException::endFunction - use cast<> instead of dyn_cast<> to avoid dereference of nullptr

The pointer is used immediately inside the getSymbol() call, so assert the cast is correct instead of returning nullptr
parent ce2b36e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment