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

LibJS: Remove hand-rolled Object is_foo() helpers in favor of RTTI

This commit is contained in:
Andreas Kling 2021-01-01 17:46:39 +01:00
parent 8333055c3d
commit f48751a739
47 changed files with 78 additions and 107 deletions

View file

@ -59,8 +59,6 @@ public:
virtual bool is_strict_mode() const override { return m_target_function->is_strict_mode(); }
private:
virtual bool is_bound_function() const override { return true; }
Function* m_target_function = nullptr;
Object* m_constructor_prototype = nullptr;
FlyString m_name;