Skip to content

Commit 1c25b30

Browse files
committed
node:util: include ObjectPrototypeInlines.h in NodeUtilTypesModule
objectPrototypeToString is defined ALWAYS_INLINE in ObjectPrototypeInlines.h. With only ObjectPrototype.h included, the call compiled to an extern reference that happened to resolve against an out-of-line copy JSC emitted while the fork demoted ALWAYS_INLINE to plain inline. oven-sh/WebKit#403 restores the attribute, no out-of-line copy exists, and every release link fails with an undefined symbol. Include the inlines header so this TU has the definition.
1 parent 7f7f414 commit 1c25b30

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/jsc/modules/NodeUtilTypesModule.cpp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include <JavaScriptCore/RegExpObject.h>
1313
#include <JavaScriptCore/JSSetIterator.h>
1414
#include <JavaScriptCore/ObjectPrototype.h>
15+
#include <JavaScriptCore/ObjectPrototypeInlines.h>
1516
#include <cmath>
1617
#include "JSEventTarget.h"
1718
#include "JavaScriptCore/TopExceptionScope.h"

0 commit comments

Comments
 (0)