File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 3636
3737 # Reset this number to 0 on major V8 upgrades.
3838 # Increment by one for each non-official patch applied to deps/v8.
39- 'v8_embedder_string' : '-node.18 ' ,
39+ 'v8_embedder_string' : '-node.19 ' ,
4040
4141 ##### V8 defaults for Node.js #####
4242
Original file line number Diff line number Diff line change @@ -384,7 +384,13 @@ class PageAllocator {
384384 kReadWrite ,
385385 // TODO(hpayer): Remove this flag. Memory should never be rwx.
386386 kReadWriteExecute ,
387- kReadExecute
387+ kReadExecute ,
388+ // Set this when reserving memory that will later require kReadWriteExecute
389+ // permissions. The resulting behavior is platform-specific, currently
390+ // this is used to set the MAP_JIT flag on Apple Silicon.
391+ // TODO(jkummerow): Remove this when Wasm has a platform-independent
392+ // w^x implementation.
393+ kNoAccessWillJitLater
388394 };
389395
390396 /* *
Original file line number Diff line number Diff line change @@ -170,6 +170,7 @@ class TrackingPageAllocator : public ::v8::PageAllocator {
170170 os << " page: [" << start << " , " << end << " ), access: " ;
171171 switch (access) {
172172 case PageAllocator::kNoAccess :
173+ case PageAllocator::kNoAccessWillJitLater :
173174 os << " --" ;
174175 break ;
175176 case PageAllocator::kRead :
You can’t perform that action at this time.
0 commit comments