gecko-dev/js
David Teller d2020b8c9b Bug 1377007 - Tweak BoyerMoorePositionInfo::SetInterval to keep PGO builds happy;r=jandem
Attempting to build Bug 137707 fails with Linux 64 PGO (and only with
Linux 64 PGO) with the following error:

INFO -  /builds/worker/workspace/build/src/js/src/irregexp/RegExpEngine.cpp:2326:5: error: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Werror=strict-overflow]
INFO -       for (int i = interval.from(); i <= interval.to(); i++) {
INFO -       ^^^

I suspect that this is actually a bug in PGO itself, rather than in
the code. However, replacing `<= interval.to()` with `!= interval.to()
+ 1` seems to do the trick.

MozReview-Commit-ID: IsayKhgkwWq

--HG--
extra : rebase_source : 6c2fa14a5fe49c1cc5d42afc9f7d57be568f662b
2017-12-06 14:05:35 +01:00
..
ductwork/debugger
examples
ipc Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium 2017-12-07 22:09:15 +01:00
public Backed out changesets 115d70e6c818 and 1938afc34193 for memory and performance regressions (bug 1422575) 2017-12-12 16:29:19 -06:00
rust Bug 1424664 - Remove heapsize support from js/rust/ r=njn 2017-12-11 02:06:28 +01:00
src Bug 1377007 - Tweak BoyerMoorePositionInfo::SetInterval to keep PGO builds happy;r=jandem 2017-12-06 14:05:35 +01:00
xpconnect Backed out 22 changesets (bug 1419771) for build bustage build/src/dom/base/FuzzingFunctions.cpp on a CLOSED TREE 2017-12-13 23:41:49 +02:00
app.mozbuild Bug 1417309 - Move some definitions from top-level moz.build to application-specific moz.build files. r=nalexander 2017-11-16 08:37:32 +09:00
ffi.configure
moz.build Bug 1410911 - back out bug 1403322; r=gbrown 2017-11-10 18:19:47 +00:00
moz.configure Bug 1377007 - Implementation of the Token Reader dedicated to testing;r=arai,jorendorff 2017-09-13 15:30:19 +02:00