mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-24 00:24:38 +00:00
LibJS: Add empty bytecode generation for VariableDeclaration
These will be partly handled by the relevant ScopeNode due to hoisting, same basic idea as function declarations. VariableDeclaration needs to do some work, but let's stub it out first and start empty.
This commit is contained in:
@@ -556,6 +556,10 @@ void FunctionDeclaration::generate_bytecode(Bytecode::Generator&) const
|
||||
{
|
||||
}
|
||||
|
||||
void VariableDeclaration::generate_bytecode(Bytecode::Generator&) const
|
||||
{
|
||||
}
|
||||
|
||||
void CallExpression::generate_bytecode(Bytecode::Generator& generator) const
|
||||
{
|
||||
m_callee->generate_bytecode(generator);
|
||||
|
||||
Reference in New Issue
Block a user