diff --git a/nova_vm/src/ecmascript/builtins/set/data.rs b/nova_vm/src/ecmascript/builtins/set/data.rs index dfc53908e..5efc024a9 100644 --- a/nova_vm/src/ecmascript/builtins/set/data.rs +++ b/nova_vm/src/ecmascript/builtins/set/data.rs @@ -21,10 +21,10 @@ use soavec_derive::SoAble; #[derive(Debug, Default, SoAble)] pub struct SetHeapData<'a> { - pub(crate) object_index: Option>, + pub(crate) set_data: RefCell>, pub(crate) values: Vec>>, + pub(crate) object_index: Option>, /// Low-level hash table pointing to value indexes. - pub(crate) set_data: RefCell>, /// Flag that lets the Set know if it needs to rehash its primitive keys. /// /// This happens when an object key needs to be moved in the set_data