Open Bug 1225452 Opened 4 years ago Updated 3 years ago
Make shared-memory guard hoistable
Bug 1176214 introduces a run-time guard on atomic operations that checks that the TypedArray is mapping shared memory. Bug 1225025 attempts to remove that guard through type inference. But if the guard is left in the code, it should be possible to hoist it out of loops to the same extent as range checking, more or less: whether a TypedArray has shared memory or not is a static aspect of the object, it never changes.
You need to log in before you can comment on or make changes to this bug.