Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | CodeGen: correct Windows ARM C++ assertion | Saleem Abdulrasool | 2016-02-05 | 1 | -0/+13 |
Because the Decl is explicitly passed as nullptr further up the call chain, it is possible to invoke isa on a nullptr, which will assert. Guard against the nullptr. Take the opportunity to reuse the helper method rather than re-implementing this logic. llvm-svn: 259874 |