--- Source/JavaScriptCore/runtime/JSCast.h.orig 2021-10-21 08:52:07 UTC +++ Source/JavaScriptCore/runtime/JSCast.h @@ -171,7 +171,7 @@ bool inherits(VM& vm, From* from) bool inherits(VM& vm, From* from) { using Dispatcher = InheritsTraits; - return Dispatcher::template inherits(vm, from); + return Dispatcher::template inherits<>(vm, from); } } // namespace JSCastingHelpers @@ -180,7 +180,7 @@ To jsDynamicCast(VM& vm, From* from) To jsDynamicCast(VM& vm, From* from) { using Dispatcher = JSCastingHelpers::InheritsTraits::type>::type>; - if (LIKELY(Dispatcher::template inherits(vm, from))) + if (LIKELY(Dispatcher::template inherits<>(vm, from))) return static_cast(from); return nullptr; }