File
Blob: patches/v8/0024-Disable-slow-handle-check.patch
| 1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
| 2 | From: Erik Corry <erikcorry@chromium.org> |
| 3 | Date: Tue, 22 Apr 2025 14:59:14 +0200 |
| 4 | Subject: Disable slow handle check |
| 5 | |
| 6 | Signed-off-by: James M Snell <jsnell@cloudflare.com> |
| 7 | |
| 8 | diff --git a/src/handles/handles.h b/src/handles/handles.h |
| 9 | index 9367344523f562d00a6bf129fa6ed053fa3d2ce1..bc84ff7f491f36625e72291e128e332b76eefa26 100644 |
| 10 | --- a/src/handles/handles.h |
| 11 | +++ b/src/handles/handles.h |
| 12 | @@ -636,11 +636,7 @@ IndirectHandle<T> indirect_handle(DirectHandle<T> handle, |
| 13 | // does not implicitly convert to an IndirectHandle. |
| 14 | template <typename T> |
| 15 | class V8_TRIVIAL_ABI DirectHandle : |
| 16 | -#ifdef ENABLE_SLOW_DCHECKS |
| 17 | - public api_internal::StackAllocated<true> |
| 18 | -#else |
| 19 | public api_internal::StackAllocated<false> |
| 20 | -#endif |
| 21 | { |
| 22 | public: |
| 23 | V8_INLINE static const DirectHandle null() { |