mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:57:44 +00:00
LibJS/Bytecode: Remove BlockBoundaryType::LeaveVariableEnvironment
We never need to manually exit a var environment from bytecode anymore.
This commit is contained in:
parent
ac246d764d
commit
12ce0789da
2 changed files with 0 additions and 14 deletions
|
@ -149,7 +149,6 @@ public:
|
|||
Unwind,
|
||||
ReturnToFinally,
|
||||
LeaveLexicalEnvironment,
|
||||
LeaveVariableEnvironment,
|
||||
};
|
||||
template<typename OpType>
|
||||
void perform_needed_unwinds()
|
||||
|
@ -167,9 +166,6 @@ public:
|
|||
case LeaveLexicalEnvironment:
|
||||
emit<Bytecode::Op::LeaveEnvironment>(Bytecode::Op::EnvironmentMode::Lexical);
|
||||
break;
|
||||
case LeaveVariableEnvironment:
|
||||
emit<Bytecode::Op::LeaveEnvironment>(Bytecode::Op::EnvironmentMode::Var);
|
||||
break;
|
||||
case Break:
|
||||
case Continue:
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue