mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibJS: Enable EXPLICIT_SYMBOL_EXPORT and annotate minimum symbol set
This commit is contained in:
parent
539a675802
commit
2e2484257d
Notes:
github-actions[bot]
2025-07-22 15:52:50 +00:00
Author: https://github.com/ayeteadoe
Commit: 2e2484257d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5525
Reviewed-by: https://github.com/trflynn89 ✅
61 changed files with 167 additions and 124 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue