Skip to content

Commit

Permalink
Add remaining private methods
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalton committed Mar 30, 2024
1 parent 64b2fa7 commit 8dcfec5
Show file tree
Hide file tree
Showing 120 changed files with 1,574 additions and 229 deletions.
10 changes: 8 additions & 2 deletions Source/JavaScriptCore/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1412,13 +1412,19 @@ set(JavaScriptCore_PRIVATE_FRAMEWORK_HEADERS

jit/Width.h
runtime/ClonedArguments.h
runtime/InternalFieldTuple.h
runtime/SuppressedError.h

runtime/JSModuleEnvironment.h
runtime/JSModuleEnvironmentInlines.h
)

if(USE_BUN_JSC_ADDITIONS)
list(APPEND JavaScriptCore_PRIVATE_FRAMEWORK_HEADERS
runtime/InternalFieldTuple.h
runtime/SuppressedError.h
runtime/SuppressedErrorConstructor.h
runtime/SuppressedErrorPrototype.h
)
endif()
if(USE_INSPECTOR_SOCKET_SERVER)
list(APPEND JavaScriptCore_PRIVATE_FRAMEWORK_HEADERS
API/JSRemoteInspectorServer.h
Expand Down
1 change: 1 addition & 0 deletions Source/JavaScriptCore/Sources.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1228,6 +1228,7 @@ yarr/YarrTZoneImpls.cpp
// Derived Sources
yarr/YarrCanonicalizeUnicode.cpp

// BUN_JSC_ADDITION Sources
runtime/InternalFieldTuple.cpp
runtime/SuppressedError.cpp
runtime/SuppressedErrorConstructor.cpp
Expand Down
3 changes: 2 additions & 1 deletion Source/JavaScriptCore/builtins/BuiltinNames.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ namespace JSC {


#define JSC_COMMON_PRIVATE_IDENTIFIERS_EACH_PROPERTY_NAME(macro) \
BUN_JSC_COMMON_PRIVATE_IDENTIFIERS(macro) \
JSC_COMMON_BYTECODE_INTRINSIC_FUNCTIONS_EACH_NAME(macro) \
JSC_COMMON_BYTECODE_INTRINSIC_CONSTANTS_EACH_NAME(macro) \
macro(add) \
Expand Down Expand Up @@ -210,7 +211,7 @@ namespace JSC {
macro(hasOwn) \
macro(indexOf) \
macro(pop) \
macro(asyncContext) \


namespace Symbols {
#define DECLARE_BUILTIN_STATIC_SYMBOLS(name) extern JS_EXPORT_PRIVATE SymbolImpl::StaticSymbolImpl name##Symbol;
Expand Down

0 comments on commit 8dcfec5

Please sign in to comment.