From c6cfa6f69d807b5a2ad43db00d4032013a3c4fb3 Mon Sep 17 00:00:00 2001 From: Diego Pino Date: Fri, 3 Sep 2021 11:51:53 +0800 Subject: [PATCH] browser(webkit): fix compilation in Ubuntu 18.04 (#8672) --- browser_patches/webkit/BUILD_NUMBER | 4 ++-- browser_patches/webkit/patches/bootstrap.diff | 13 +++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/browser_patches/webkit/BUILD_NUMBER b/browser_patches/webkit/BUILD_NUMBER index 94242490b7..f409d1d28e 100644 --- a/browser_patches/webkit/BUILD_NUMBER +++ b/browser_patches/webkit/BUILD_NUMBER @@ -1,2 +1,2 @@ -1539 -Changed: dpino@igalia.com Wed Sep 1 03:30:30 UTC 2021 +1540 +Changed: dpino@igalia.com Fri Sep 3 09:41:53 HKT 2021 diff --git a/browser_patches/webkit/patches/bootstrap.diff b/browser_patches/webkit/patches/bootstrap.diff index c67400b790..f0a24835a4 100644 --- a/browser_patches/webkit/patches/bootstrap.diff +++ b/browser_patches/webkit/patches/bootstrap.diff @@ -62,6 +62,19 @@ index c82cf261baa0339cec2d493e4edda27c0507c040..cfbcb0219acaa2817049201a5648944d $(JavaScriptCore)/inspector/protocol/Security.json \ $(JavaScriptCore)/inspector/protocol/ServiceWorker.json \ $(JavaScriptCore)/inspector/protocol/Target.json \ +diff --git a/Source/JavaScriptCore/assembler/ProbeContext.h b/Source/JavaScriptCore/assembler/ProbeContext.h +index 54db1ce832efc0bd382092100a4727e389fa322a..36f430bcb50949f780395bbaf5782ca93de5f559 100644 +--- a/Source/JavaScriptCore/assembler/ProbeContext.h ++++ b/Source/JavaScriptCore/assembler/ProbeContext.h +@@ -249,7 +249,7 @@ private: + friend JS_EXPORT_PRIVATE void* probeStateForContext(Context&); // Not for general use. This should only be for writing tests. + }; + +-extern "C" void executeJSCJITProbe(State*); ++extern "C" void executeJSCJITProbe(State*) REFERENCED_FROM_ASM WTF_INTERNAL; + + } // namespace Probe + } // namespace JSC diff --git a/Source/JavaScriptCore/bindings/ScriptValue.cpp b/Source/JavaScriptCore/bindings/ScriptValue.cpp index 52d955b1e4929f6d0dede53097d275559b29b91d..71c538e57acf3912f9a777f7bc7eba6efb8877eb 100644 --- a/Source/JavaScriptCore/bindings/ScriptValue.cpp