This will help remove another overflow check in Octane/encrypt.
Created attachment 270055 [details] the patch
Comment on attachment 270055 [details] the patch View in context: https://bugs.webkit.org/attachment.cgi?id=270055&action=review > Source/JavaScriptCore/b3/B3ReduceStrength.cpp:280 > + return sShr<int32_t>(shiftAmount); int32_t?
(In reply to comment #2) > Comment on attachment 270055 [details] > the patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=270055&action=review > > > Source/JavaScriptCore/b3/B3ReduceStrength.cpp:280 > > + return sShr<int32_t>(shiftAmount); > > int32_t? That's embarrassing.
I'll write some tests before landing this.
Landed in http://trac.webkit.org/changeset/195728