diff options
author | Ali Mohammad Pur <ali.mpfard@gmail.com> | 2022-02-12 19:54:08 +0330 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-02-13 14:41:33 +0000 |
commit | 75aa900b830a3e72dbc59229c44a6c0b88d99230 (patch) | |
tree | 6572353b81b80f31bd58266d7d22bdf46a6cb5f4 /Kernel/AddressSanitizer.h | |
parent | 3a5f7cb524bb061bae07ba0554ef1edcd34c502b (diff) | |
download | serenity-75aa900b830a3e72dbc59229c44a6c0b88d99230.zip |
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.
Diffstat (limited to 'Kernel/AddressSanitizer.h')
0 files changed, 0 insertions, 0 deletions