mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-08 08:44:37 +08:00
Atomics.load, store, exchange, compareExchange, add, sub, and, or and xor on an integer typed array compile to one sequentially consistent LLVM atomic instruction on the element. An index that is not an integer in range takes the runtime operation, which applies ToIndex and raises its errors.