This is an archive of the discontinued LLVM Phabricator instance.

[MC] EmitNop: Make an assertion more useful
ClosedPublic

Authored by davide on Apr 20 2016, 10:47 AM.

Details

Summary

NumBytes is an unsigned so this will never fire. I assume this might be what you wanted to do originally.

Diff Detail

Repository
rL LLVM

Event Timeline

davide updated this revision to Diff 54391.Apr 20 2016, 10:47 AM
davide retitled this revision from to [MC] EmitNop: Make an assertion more useful.
davide updated this object.
davide added a reviewer: sanjoy.
davide added a subscriber: llvm-commits.
sanjoy accepted this revision.Apr 20 2016, 10:55 AM
sanjoy edited edge metadata.

Gah, made a C++ 101 mistake. :|

Thanks for fixing!

This revision is now accepted and ready to land.Apr 20 2016, 10:55 AM
This revision was automatically updated to reflect the committed changes.