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:
parent
0cd65b55bd
commit
ce2747692d
3 changed files with 1 additions and 26 deletions
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue