compnerd accepted this revision.
compnerd added inline comments.
This revision is now accepted and ready to land.
================
Comment at: src/DwarfInstructions.hpp:170
const int lastReg = R::lastDwarfRegNum();
- assert((int)CFI_Parser<A>::kMaxRegisterNumber > lastReg &&
+ assert((int)CFI_Parser<A>::kMaxRegisterNumber >= lastReg &&
"register range too large");
----------------
Please use `static_cast` rather than the C style cast.
https://reviews.llvm.org/D39281
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits