Add a workaround for Safari 9 ARM iOS right shift by non-immediate zero JIT bug - #7191
Conversation
|
Perhaps this could be part of cc @Brion |
|
I'd like not to put this as part of |
|
@juj I do still think there is a benefit to a catch-all option, people that just want to support all older browsers. But I agree that it shouldn't be the only way for users that want specific things out of that. So how about adding this new option as you suggested, and also enabling it when |
|
Yeah, having a enable-all sounds good as well. I'll update this PR and add an option for that. |
9597030 to
fcab882
Compare
|
Pushed updated version of this. @kripken does this look good now? |
| # legacy vms don't have wasm | ||
| assert not shared.Settings.WASM, 'LEGACY_VM_SUPPORT is only supported for asm.js, and not wasm. Build with -s WASM=0' | ||
| shared.Settings.POLYFILL_OLD_MATH_FUNCTIONS = 1 | ||
| shared.Settings.SUPPORT_IOS_9 = 1 |
There was a problem hiding this comment.
The IOS option has a different name here than elsewhere, which is WORKAROUND_IOS_9_RIGHT_SHIFT_BUG
fcab882 to
97eccad
Compare
97eccad to
6a90bb4
Compare
Needs emscripten-core/emscripten-fastcomp#231 to land first.