1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 19:15:07 +00:00

LibJS: Print the name of AST nodes that are missing generate_bytecode()

This way you know which one it is right away. :^)
This commit is contained in:
Andreas Kling 2021-06-09 09:31:16 +02:00
parent 764a41e284
commit 99ffcc28c2

View file

@ -15,7 +15,7 @@ namespace JS {
void ASTNode::generate_bytecode(Bytecode::Generator&) const
{
dbgln("Missing generate_bytecode()");
dbgln("Missing generate_bytecode() in {}", class_name());
TODO();
}