|
@@ -43,11 +43,12 @@ void NativeExecutable::run(VM& vm, size_t entry_point) const
|
|
|
VERIFY(entry_point_address != 0);
|
|
|
}
|
|
|
|
|
|
- typedef void (*JITCode)(VM&, Value* registers, Value* locals, FlatPtr entry_point_address);
|
|
|
+ typedef void (*JITCode)(VM&, Value* registers, Value* locals, FlatPtr entry_point_address, ExecutionContext&);
|
|
|
((JITCode)m_code)(vm,
|
|
|
vm.bytecode_interpreter().registers().data(),
|
|
|
vm.running_execution_context().local_variables.data(),
|
|
|
- entry_point_address);
|
|
|
+ entry_point_address,
|
|
|
+ vm.running_execution_context());
|
|
|
}
|
|
|
|
|
|
#if ARCH(X86_64)
|