ladybird/Libraries/LibJS/Bytecode/AsmInterpreter
Andreas Kling 7bc40bd54a LibJS: Add a charAt builtin bytecode fast path
Tag String.prototype.charAt as a builtin and emit a dedicated
bytecode instruction for non-computed calls.

The asm interpreter can then stay on the fast path when the
receiver is a primitive string with resident UTF-16 data and the
selected code unit is ASCII. In that case we can return the VM's
cached empty or single-character ASCII string directly.
2026-04-12 19:15:50 +02:00
..
asmint.asm LibJS: Add a charAt builtin bytecode fast path 2026-04-12 19:15:50 +02:00
AsmInterpreter.cpp LibJS: Add a charAt builtin bytecode fast path 2026-04-12 19:15:50 +02:00
AsmInterpreter.h LibJS: Add AsmInterpreter, a low-level assembly bytecode interpreter 2026-03-07 13:09:59 +01:00
gen_asm_offsets.cpp LibJS: Add a charAt builtin bytecode fast path 2026-04-12 19:15:50 +02:00