File tree 3 files changed +9
-2
lines changed
3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 36
36
37
37
# Reset this number to 0 on major V8 upgrades.
38
38
# Increment by one for each non-official patch applied to deps/v8.
39
- 'v8_embedder_string' : '-node.18 ' ,
39
+ 'v8_embedder_string' : '-node.19 ' ,
40
40
41
41
##### V8 defaults for Node.js #####
42
42
Original file line number Diff line number Diff line change @@ -384,7 +384,13 @@ class PageAllocator {
384
384
kReadWrite ,
385
385
// TODO(hpayer): Remove this flag. Memory should never be rwx.
386
386
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
388
394
};
389
395
390
396
/* *
Original file line number Diff line number Diff line change @@ -170,6 +170,7 @@ class TrackingPageAllocator : public ::v8::PageAllocator {
170
170
os << " page: [" << start << " , " << end << " ), access: " ;
171
171
switch (access ) {
172
172
case PageAllocator::kNoAccess :
173
+ case PageAllocator::kNoAccessWillJitLater :
173
174
os << " --" ;
174
175
break ;
175
176
case PageAllocator::kRead :
You can’t perform that action at this time.
0 commit comments