mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +00:00
LibJS: Remove hand-rolled Object is_foo() helpers in favor of RTTI
This commit is contained in:
parent
8333055c3d
commit
f48751a739
47 changed files with 78 additions and 107 deletions
|
@ -54,8 +54,6 @@ public:
|
|||
const Regex<ECMA262>& regex() const { return m_regex; }
|
||||
|
||||
private:
|
||||
virtual bool is_regexp_object() const override { return true; }
|
||||
|
||||
JS_DECLARE_NATIVE_GETTER(last_index);
|
||||
JS_DECLARE_NATIVE_SETTER(set_last_index);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue