diff --git a/boa_engine/src/context/mod.rs b/boa_engine/src/context/mod.rs index d29d82aeb7c..60eb6313abd 100644 --- a/boa_engine/src/context/mod.rs +++ b/boa_engine/src/context/mod.rs @@ -527,7 +527,7 @@ impl<'host> Context<'host> { /// Get the remaining instruction count #[cfg(feature = "fuzz")] #[inline] - pub const fn instructions_remaining(&self) -> u64 { + pub const fn instructions_remaining(&self) -> usize { self.instructions_remaining } /// Get the [`RootShape`].