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

LibJS/JIT: Compile the CopyObjectExcludingProperties instruction

This commit is contained in:
Simon Wanner 2023-10-30 02:00:53 +01:00 committed by Andreas Kling
parent 9494fbe670
commit ac59e982a9
3 changed files with 44 additions and 1 deletions

View file

@ -241,6 +241,10 @@ public:
return round_up_to_power_of_two(alignof(void*), sizeof(*this) + sizeof(Register) * excluded_names_count);
}
Register from_object() const { return m_from_object; }
size_t excluded_names_count() const { return m_excluded_names_count; }
Register const* excluded_names() const { return m_excluded_names; }
private:
Register m_from_object;
size_t m_excluded_names_count { 0 };