0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-06-05 08:11:16 +00:00
Files
termux-packages/x11-packages/electron-host-tools-for-code-oss/cr-patches/1502-v8-reimpl-page-allocator.patch
2025-05-12 15:06:25 +08:00

14 lines
427 B
Diff

--- a/v8/include/v8-platform.h
+++ b/v8/include/v8-platform.h
@@ -925,7 +925,9 @@
* Allows the embedder to manage memory page allocations.
* Returning nullptr will cause V8 to use the default page allocator.
*/
- virtual PageAllocator* GetPageAllocator() = 0;
+ virtual PageAllocator* GetPageAllocator() {
+ return nullptr;
+ }
/**
* Allows the embedder to specify a custom allocator used for zones.