File tree 2 files changed +1
-9
lines changed
deps/v8/src/base/platform
2 files changed +1
-9
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.6 ' ,
39
+ 'v8_embedder_string' : '-node.7 ' ,
40
40
41
41
##### V8 defaults for Node.js #####
42
42
Original file line number Diff line number Diff line change @@ -576,15 +576,7 @@ void OS::FreeAddressSpaceReservation(AddressSpaceReservation reservation) {
576
576
#if !defined(V8_OS_MACOS)
577
577
// static
578
578
PlatformSharedMemoryHandle OS::CreateSharedMemoryHandleForTesting (size_t size) {
579
- #if V8_OS_LINUX && !V8_OS_ANDROID
580
- const char * name = " V8MemFDForTesting" ;
581
- int fd = memfd_create (name, MFD_CLOEXEC);
582
- if (fd == -1 ) return kInvalidSharedMemoryHandle ;
583
- CHECK_EQ (0 , ftruncate (fd, size));
584
- return SharedMemoryHandleFromFileDescriptor (fd);
585
- #else
586
579
return kInvalidSharedMemoryHandle ;
587
- #endif
588
580
}
589
581
590
582
// static
You can’t perform that action at this time.
0 commit comments