1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 10:17:35 +00:00

LibJS: Remove unused DeclarativeEnvironmentRecord::type()

Nothing was using this, and we now have separate classes for the
different types of environment records instead.
This commit is contained in:
Andreas Kling 2021-06-24 13:28:15 +02:00
parent 0cd65b55bd
commit ce2747692d
3 changed files with 1 additions and 26 deletions

View file

@ -12,7 +12,7 @@
namespace JS {
FunctionEnvironmentRecord::FunctionEnvironmentRecord(EnvironmentRecord* parent_scope, HashMap<FlyString, Variable> variables)
: DeclarativeEnvironmentRecord(variables, parent_scope, DeclarativeEnvironmentRecord::EnvironmentRecordType::Function)
: DeclarativeEnvironmentRecord(variables, parent_scope)
{
}