diff --git a/src/x64/codegen-x64.cc b/src/x64/codegen-x64.cc index 406c1bb593..00ee51348f 100644 --- a/src/x64/codegen-x64.cc +++ b/src/x64/codegen-x64.cc @@ -8755,7 +8755,7 @@ ModuloFunction CreateModuloFunction() { &actual_size, true)); CHECK(buffer); - Assembler masm(buffer, static_cast(actual_size)); + Assembler masm(Isolate::Current(), buffer, static_cast(actual_size)); // Generated code is put into a fixed, unmovable, buffer, and not into // the V8 heap. We can't, and don't, refer to any relocatable addresses // (e.g. the JavaScript nan-object).