LibJS: Enable EXPLICIT_SYMBOL_EXPORT and annotate minimum symbol set

This commit is contained in:
ayeteadoe 2025-07-19 13:49:30 -07:00 committed by Tim Flynn
commit 2e2484257d
Notes: github-actions[bot] 2025-07-22 15:52:50 +00:00
61 changed files with 167 additions and 124 deletions

View file

@ -10,6 +10,7 @@
#include <LibJS/Bytecode/Generator.h>
#include <LibJS/Bytecode/Interpreter.h>
#include <LibJS/Export.h>
#include <LibJS/Runtime/ClassFieldDefinition.h>
#include <LibJS/Runtime/ExecutionContext.h>
#include <LibJS/Runtime/FunctionObject.h>
@ -98,7 +99,7 @@ public:
};
// 10.2 ECMAScript Function Objects, https://tc39.es/ecma262/#sec-ecmascript-function-objects
class ECMAScriptFunctionObject final : public FunctionObject {
class JS_API ECMAScriptFunctionObject final : public FunctionObject {
JS_OBJECT(ECMAScriptFunctionObject, FunctionObject);
GC_DECLARE_ALLOCATOR(ECMAScriptFunctionObject);