File
Blob: patches/v8/0025-Workaround-for-builtin-can-allocate-issue.patch
| 1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
| 2 | From: Erik Corry <erikcorry@chromium.org> |
| 3 | Date: Fri, 20 Jun 2025 16:44:42 +0200 |
| 4 | Subject: Workaround for builtin-can-allocate issue |
| 5 | |
| 6 | |
| 7 | diff --git a/src/snapshot/builtins-effects-dummy.cc b/src/snapshot/builtins-effects-dummy.cc |
| 8 | index 495c65aabdf13c22f053ab492971d42f6c84cc8f..7df94c00f137098c3d76e455c08a3d3074f51b12 100644 |
| 9 | --- a/src/snapshot/builtins-effects-dummy.cc |
| 10 | +++ b/src/snapshot/builtins-effects-dummy.cc |
| 11 | @@ -13,6 +13,6 @@ namespace v8::internal { |
| 12 | // TODO(dmercadier): try to compile builtins in an order such that callees are |
| 13 | // compiled before callers, so that we can make use of the CanAllocate |
| 14 | // information for callees when computing callers. |
| 15 | -bool BuiltinCanAllocate(Builtin builtin) { return true; } |
| 16 | +bool BuiltinCanAllocate(Builtin builtin) { return false; } |
| 17 | |
| 18 | } // namespace v8::internal |