mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 10:37:17 +02:00
AK+LibJS: Remove null state from DeprecatedFlyString :^)
This commit is contained in:
committed by
Andrew Kaster
parent
026c1caba0
commit
8ac0e3f0e5
Notes:
sideshowbarker
2024-07-17 06:51:40 +09:00
Author: https://github.com/DanShaders Commit: https://github.com/SerenityOS/serenity/commit/8ac0e3f0e5 Pull-request: https://github.com/SerenityOS/serenity/pull/22926 Reviewed-by: https://github.com/ADKaster ✅ Reviewed-by: https://github.com/davidot ✅
@@ -1261,7 +1261,6 @@ Completion ECMAScriptFunctionObject::ordinary_call_evaluate_body()
|
||||
|
||||
void ECMAScriptFunctionObject::set_name(DeprecatedFlyString const& name)
|
||||
{
|
||||
VERIFY(!name.is_null());
|
||||
auto& vm = this->vm();
|
||||
m_name = name;
|
||||
m_name_string = PrimitiveString::create(vm, m_name);
|
||||
|
||||
Reference in New Issue
Block a user