mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 21:59:07 +00:00
LibJS: Remove hand-rolled Object is_foo() helpers in favor of RTTI
This commit is contained in:
parent
8333055c3d
commit
f48751a739
Notes:
sideshowbarker
2024-07-19 00:15:57 +09:00
Author: https://github.com/awesomekling
Commit: f48751a739
47 changed files with 78 additions and 107 deletions
|
@ -39,7 +39,6 @@ public:
|
|||
NumberObject(double, Object& prototype);
|
||||
virtual ~NumberObject() override;
|
||||
|
||||
virtual bool is_number_object() const override { return true; }
|
||||
virtual Value value_of() const override { return Value(m_value); }
|
||||
|
||||
double number() const { return m_value; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue