aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/rare_data.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/bun.js/rare_data.zig')
-rw-r--r--src/bun.js/rare_data.zig8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bun.js/rare_data.zig b/src/bun.js/rare_data.zig
index af2b90f3b..78354676f 100644
--- a/src/bun.js/rare_data.zig
+++ b/src/bun.js/rare_data.zig
@@ -26,7 +26,7 @@ hot_map: ?HotMap = null,
tail_cleanup_hook: ?*CleanupHook = null,
cleanup_hook: ?*CleanupHook = null,
-file_polls_: ?*JSC.FilePoll.HiveArray = null,
+file_polls_: ?*JSC.FilePoll.Store = null,
global_dns_data: ?*JSC.DNS.GlobalData = null,
@@ -102,10 +102,10 @@ pub const HotMap = struct {
}
};
-pub fn filePolls(this: *RareData, vm: *JSC.VirtualMachine) *JSC.FilePoll.HiveArray {
+pub fn filePolls(this: *RareData, vm: *JSC.VirtualMachine) *JSC.FilePoll.Store {
return this.file_polls_ orelse {
- this.file_polls_ = vm.allocator.create(JSC.FilePoll.HiveArray) catch unreachable;
- this.file_polls_.?.* = JSC.FilePoll.HiveArray.init(vm.allocator);
+ this.file_polls_ = vm.allocator.create(JSC.FilePoll.Store) catch unreachable;
+ this.file_polls_.?.* = JSC.FilePoll.Store.init(vm.allocator);
return this.file_polls_.?;
};
}