am/jit: reference memory instance from context
This commit is contained in:
parent
cf8c7d4ed3
commit
47e44a6693
3 changed files with 7 additions and 5 deletions
|
@ -26,7 +26,7 @@ public:
|
|||
explicit IJitEnvironment(Core::System& system_, Kernel::KProcess& process_, CodeRange user_rx,
|
||||
CodeRange user_ro)
|
||||
: ServiceFramework{system_, "IJitEnvironment"}, process{&process_},
|
||||
context{system_.ApplicationMemory()} {
|
||||
context{process->GetMemory()} {
|
||||
// clang-format off
|
||||
static const FunctionInfo functions[] = {
|
||||
{0, &IJitEnvironment::GenerateCode, "GenerateCode"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue