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

@ -15,6 +15,7 @@
#include <LibJS/Bytecode/IdentifierTable.h>
#include <LibJS/Bytecode/Label.h>
#include <LibJS/Bytecode/StringTable.h>
#include <LibJS/Export.h>
#include <LibJS/Forward.h>
#include <LibJS/Heap/Cell.h>
#include <LibJS/LocalVariable.h>
@ -47,7 +48,7 @@ struct SourceRecord {
u32 source_end_offset {};
};
class Executable final : public Cell {
class JS_API Executable final : public Cell {
GC_CELL(Executable, Cell);
GC_DECLARE_ALLOCATOR(Executable);

View file

@ -9,6 +9,7 @@
#include <LibJS/Bytecode/Executable.h>
#include <LibJS/Bytecode/Label.h>
#include <LibJS/Bytecode/Register.h>
#include <LibJS/Export.h>
#include <LibJS/Forward.h>
#include <LibJS/Heap/Cell.h>
#include <LibJS/Runtime/FunctionKind.h>
@ -19,7 +20,7 @@ namespace JS::Bytecode {
class InstructionStreamIterator;
class Interpreter {
class JS_API Interpreter {
public:
explicit Interpreter(VM&);
~Interpreter();