https://bugs.webkit.org/show_bug.cgi?id=255867
Reviewed by Yusuke Suzuki.
Seen on webkitgtk-2.38.6 but also applicable on main.
/home/thomas/Documents/buildroot/output/build/webkitgtk-2.38.6/Source/JavaScriptCore/runtime/ArgList.h: In member function ‘decltype(auto) JSC::MarkedVector<T, passedInlineCapacity, OverflowHandler>::at(int) const’:
/home/thomas/Documents/buildroot/output/build/webkitgtk-2.38.6/Source/JavaScriptCore/runtime/ArgList.h:144:20: error: ‘jsCast’ was not declared in this scope
return jsCast<T>(JSValue::decode(slotFor(i)).asCell());
Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
link: https://commits.webkit.org/263324@main
Gbp-Pq: Name fix-jscast-undeclared-error.patch
#pragma once
#include "CallFrame.h"
+#include "JSCast.h"
#include <wtf/CheckedArithmetic.h>
#include <wtf/ForbidHeapAllocation.h>
#include <wtf/HashSet.h>