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
Notes: sideshowbarker 2024-07-17 17:40:13 +09:00
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 };