From 22fdfdc1529274731269495f54f5ac1594ab15f5 Mon Sep 17 00:00:00 2001 From: Aapo Alasuutari Date: Sun, 2 Feb 2025 11:23:00 +0200 Subject: [PATCH] Remove unused get_realm --- .../control_abstraction_objects/async_generator_objects.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/nova_vm/src/ecmascript/builtins/control_abstraction_objects/async_generator_objects.rs b/nova_vm/src/ecmascript/builtins/control_abstraction_objects/async_generator_objects.rs index 88487551f..5dbcdd07d 100644 --- a/nova_vm/src/ecmascript/builtins/control_abstraction_objects/async_generator_objects.rs +++ b/nova_vm/src/ecmascript/builtins/control_abstraction_objects/async_generator_objects.rs @@ -83,11 +83,6 @@ impl AsyncGenerator<'_> { self.0.into_index() } - pub(crate) fn get_realm(self, agent: &Agent) -> Option { - println!("{:#?}", agent[self].async_generator_state); - None - } - pub(crate) fn is_draining_queue(self, agent: &Agent) -> bool { matches!( agent[self].async_generator_state.as_ref().unwrap(),