Files
ladybird/Userland/Libraries/LibJS/Runtime/ECMAScriptFunctionObject.cpp
Ali Mohammad Pur 75aa900b83 LibJS: Make ASTNode::generate_bytecode() fallible
Instead of crashing on the spot, return a descriptive error that will
eventually continue its days as a javascript "InternalError" exception.
This should make random crashes with BC less likely.
2022-02-13 14:41:33 +00:00

41 KiB