Mojo: Optimize VerifyUserPointer().
Gets rid of run-time division. In the new empty read test, goes from ~8.7 million iterations/second to ~9.7 million iterations/second (and in perf makes VerifyUserPointer() go from ~10% to ~0.5%). R=darin Review URL: https://codereview.chromium.org/25323003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226422 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment