commit | 1eb3a55dd9a08ceffe545b144a3be9ba63955035 | [log] [tgz] |
---|---|---|
author | Jan Voung <jvoung@chromium.org> | Fri Sep 12 11:05:47 2014 -0700 |
committer | Jan Voung <jvoung@chromium.org> | Fri Sep 12 11:05:47 2014 -0700 |
tree | 4beafa51188de84c015606889c19c9726977cb7d | |
parent | 5ee234a78dbaa81830efed1038161a40ea43d773 [diff] |
Switch to llvm::findFirstSet instead of ffs since mingw doesn't have ffs. ffs() vs findFirstSet() are slightly different, indexing is 0-based instead of 1-based. Example mingw error: http://build.chromium.org/p/tryserver.nacl/builders/nacl-toolchain-win7-pnacl-x86_64/builds/1920/steps/llvm_i686_w64_mingw32%20%28build%29/logs/stdio BUG=none R=stichnot@chromium.org Review URL: https://codereview.chromium.org/563303002