diff --git a/boa_engine/src/builtins/eval/mod.rs b/boa_engine/src/builtins/eval/mod.rs
index 05d01ae258..5881a0f069 100644
--- a/boa_engine/src/builtins/eval/mod.rs
+++ b/boa_engine/src/builtins/eval/mod.rs
@@ -232,8 +232,8 @@ impl Eval {
compiler.compile_statement_list(&body, true, false);
let env_info = compiler.pop_compile_environment();
- compiler.patch_jump_with_target(push_env.0, env_info.num_bindings as u32);
- compiler.patch_jump_with_target(push_env.1, env_info.index as u32);
+ compiler.patch_jump_with_target(push_env.0, env_info.num_bindings);
+ compiler.patch_jump_with_target(push_env.1, env_info.index);
compiler.emit_opcode(Opcode::PopEnvironment);
let code_block = Gc::new(compiler.finish());
diff --git a/boa_engine/src/builtins/function/arguments.rs b/boa_engine/src/builtins/function/arguments.rs
index aafd5f98ea..8251e649e4 100644
--- a/boa_engine/src/builtins/function/arguments.rs
+++ b/boa_engine/src/builtins/function/arguments.rs
@@ -12,14 +12,14 @@ use rustc_hash::FxHashMap;
/// This struct stores all the data to access mapped function parameters in their environment.
#[derive(Debug, Clone, Trace, Finalize)]
pub struct ParameterMap {
- binding_indices: Vec