Files
ladybird/Libraries/LibJS/Bytecode
Andreas Kling 20f50d1f71 LibJS: Convert builtin validation codegen errors to VERIFY
These checks validate engine-internal usage of builtin abstract
operations (arity, argument types, known operation names), not user JS
code. Replace CodeGenerationError returns with VERIFY() assertions:

- Spread argument check becomes VERIFY(!argument.is_spread)
- Arity checks become VERIFY(arguments.size() == N)
- StringLiteral type checks become VERIFY(message)
- Unknown operation/constant fallthroughs become VERIFY_NOT_REACHED()
2026-02-12 11:37:43 +01:00
..