js/src/jit-test/tests/warp/bug1676639.js
0 → 100644
+7
−0
+4
−4
+7
−5
+1
−8
Loading
This fixes a fuzz bug where BoxInputsPolicy creates an infallible MToDouble node (with BailoutKind::Unknown, because it's infallible), then range analysis eagerly truncates it, creating an MToNumberInt32 with unknown bailout kind. The fix is to create a new bailout kind for eager truncation and have range analysis set it where appropriate. (We were talking about doing this earlier, but I held off because I don't understand the truncation code well and I was a bit concerned that it might cause performance regressions. Fortunately, the performance looks good on try.) Differential Revision: https://phabricator.services.mozilla.com/D98876