mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-08 16:12:23 +02:00
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()