diff --git a/Libraries/LibJS/Bytecode/Register.h b/Libraries/LibJS/Bytecode/Register.h index 0e2505af7c5..41d8973a814 100644 --- a/Libraries/LibJS/Bytecode/Register.h +++ b/Libraries/LibJS/Bytecode/Register.h @@ -45,13 +45,7 @@ public: return Register(return_value_index); } - static constexpr Register saved_exception() - { - constexpr u32 saved_exception_index = 5; - return Register(saved_exception_index); - } - - static constexpr u32 reserved_register_count = 6; + static constexpr u32 reserved_register_count = 5; constexpr explicit Register(u32 index) : m_index(index)