Displaying 1 result from an estimated 1 matches for "emitstrnlen".
2016 Feb 07
3
[PATCH] strlen -> strnlen optimization
...'d give it a try.
nlewycky on IRC seemed to think it was a good idea. I'm interested to
hear what others think.
I have little C++ experience, so there are likely improvements to be
made to my patch. I tried to adhere to the style and conventions of the
surrounding code.
This reintroduces emitStrNLen(), which was removed a couple months ago
in r253514. The only change is a getParent()->getParent() -->
getModule() conversion, which was done in emitStrLen() after
emitStrNLen() was removed.
This tests successfully for me on Ubuntu 14.04.3.
Thanks for your time,
Michael
Index: lib/Transfo...