Skip to content

Commit

Permalink
[JSC] fix include error by 263041@main
Browse files Browse the repository at this point in the history
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>
Canonical link: https://commits.webkit.org/263324@main
  • Loading branch information
ThomasDevoogdt authored and Constellation committed Apr 24, 2023
1 parent 9a82077 commit d7a67e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/JavaScriptCore/runtime/ArgList.h
Expand Up @@ -22,6 +22,7 @@
#pragma once

#include "CallFrame.h"
#include "JSCast.h"
#include <wtf/CheckedArithmetic.h>
#include <wtf/ForbidHeapAllocation.h>
#include <wtf/HashSet.h>
Expand Down

0 comments on commit d7a67e4

Please sign in to comment.