browser(webkit): fix compilation in Ubuntu 18.04 (#8672)

This commit is contained in:
Diego Pino 2021-09-03 11:51:53 +08:00 committed by GitHub
parent 0d5b41ce7b
commit c6cfa6f69d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 2 deletions

View File

@ -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

View File

@ -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