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.21 ' ,
39
+ 'v8_embedder_string' : '-node.22 ' ,
40
40
41
41
##### V8 defaults for Node.js #####
42
42
Original file line number Diff line number Diff line change @@ -338,7 +338,13 @@ class PageAllocator {
338
338
kReadWrite ,
339
339
// TODO(hpayer): Remove this flag. Memory should never be rwx.
340
340
kReadWriteExecute ,
341
- kReadExecute
341
+ kReadExecute ,
342
+ // Set this when reserving memory that will later require kReadWriteExecute
343
+ // permissions. The resulting behavior is platform-specific, currently
344
+ // this is used to set the MAP_JIT flag on Apple Silicon.
345
+ // TODO(jkummerow): Remove this when Wasm has a platform-independent
346
+ // w^x implementation.
347
+ kNoAccessWillJitLater
342
348
};
343
349
344
350
/* *
Original file line number Diff line number Diff line change @@ -169,6 +169,7 @@ class TrackingPageAllocator : public ::v8::PageAllocator {
169
169
os << " page: [" << start << " , " << end << " ), access: " ;
170
170
switch (access ) {
171
171
case PageAllocator::kNoAccess :
172
+ case PageAllocator::kNoAccessWillJitLater :
172
173
os << " --" ;
173
174
break ;
174
175
case PageAllocator::kRead :
You can’t perform that action at this time.
0 commit comments