mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibJS: Remove unused NativeFunction::m_name_string
This commit is contained in:
parent
bd56fdc57b
commit
cb333c53e7
Notes:
github-actions[bot]
2025-11-12 13:40:17 +00:00
Author: https://github.com/gmta
Commit: cb333c53e7
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6797
2 changed files with 0 additions and 10 deletions
|
|
@ -16,18 +16,11 @@ namespace JS {
|
|||
|
||||
GC_DEFINE_ALLOCATOR(NativeFunction);
|
||||
|
||||
void NativeFunction::initialize(Realm& realm)
|
||||
{
|
||||
Base::initialize(realm);
|
||||
m_name_string = PrimitiveString::create(vm(), m_name);
|
||||
}
|
||||
|
||||
void NativeFunction::visit_edges(Cell::Visitor& visitor)
|
||||
{
|
||||
Base::visit_edges(visitor);
|
||||
visitor.visit_possible_values(m_native_function.raw_capture_range());
|
||||
visitor.visit(m_realm);
|
||||
visitor.visit(m_name_string);
|
||||
}
|
||||
|
||||
// 10.3.3 CreateBuiltinFunction ( behaviour, length, name, additionalInternalSlotsList [ , realm [ , prototype [ , prefix ] ] ] ), https://tc39.es/ecma262/#sec-createbuiltinfunction
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue