[Webkit-unassigned] [Bug 243404] New: warning: inline function ‘static void JSC::JSCell::visitOutputConstraints(JSC::JSCell*, JSC::SlotVisitor&)’ used but never defined

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 1 08:26:55 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=243404

            Bug ID: 243404
           Summary: warning: inline function ‘static void
                    JSC::JSCell::visitOutputConstraints(JSC::JSCell*,
                    JSC::SlotVisitor&)’ used but never defined
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at gnome.org

[1492/7693] Building CXX object Source/JavaScriptCore/CMak...s/JavaScriptCore.dir/wasm/js/WebAssemblyFunctionBase.cpp.o
In file included from /home/mcatanzaro/Projects/WebKit/Source/JavaScriptCore/runtime/JSCell.h:35,
                 from /home/mcatanzaro/Projects/WebKit/Source/JavaScriptCore/runtime/JSArray.h:26,
                 from /home/mcatanzaro/Projects/WebKit/Source/JavaScriptCore/bytecode/ArrayAllocationProfile.h:29,
                 from /home/mcatanzaro/Projects/WebKit/Source/JavaScriptCore/runtime/JSGlobalObject.h:24,
                 from /home/mcatanzaro/Projects/WebKit/Source/JavaScriptCore/bytecode/InternalFunctionAllocationProfile.h:28,
                 from /home/mcatanzaro/Projects/WebKit/Source/JavaScriptCore/runtime/FunctionRareData.h:28,
                 from /home/mcatanzaro/Projects/WebKit/Source/JavaScriptCore/runtime/JSFunction.h:26,
                 from /home/mcatanzaro/Projects/WebKit/Source/JavaScriptCore/wasm/js/WebAssemblyFunctionBase.h:30,
                 from /home/mcatanzaro/Projects/WebKit/Source/JavaScriptCore/wasm/js/WebAssemblyFunctionBase.cpp:27:
/home/mcatanzaro/Projects/WebKit/Source/JavaScriptCore/heap/SlotVisitorMacros.h:96:29: warning: inline function ‘static void JSC::JSCell::visitOutputConstraints(JSC::JSCell*, JSC::SlotVisitor&)’ used but never defined
   96 |     preModifier static void visitOutputConstraints(JSCell*, SlotVisitor&)
      |                             ^~~~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Source/JavaScriptCore/runtime/JSCell.h:174:5: note: in expansion of macro ‘DECLARE_VISIT_OUTPUT_CONSTRAINTS_WITH_MODIFIER’
  174 |     DECLARE_VISIT_OUTPUT_CONSTRAINTS_WITH_MODIFIER(inline);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Source/JavaScriptCore/heap/SlotVisitorMacros.h:95:29: warning: inline function ‘static void JSC::JSCell::visitOutputConstraints(JSC::JSCell*, JSC::AbstractSlotVisitor&)’ used but never defined
   95 |     preModifier static void visitOutputConstraints(JSCell*, AbstractSlotVisitor&); \
      |                             ^~~~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Source/JavaScriptCore/runtime/JSCell.h:174:5: note: in expansion of macro ‘DECLARE_VISIT_OUTPUT_CONSTRAINTS_WITH_MODIFIER’
  174 |     DECLARE_VISIT_OUTPUT_CONSTRAINTS_WITH_MODIFIER(inline);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I think the problem is WebAssemblyFunctionBase.cpp needs to include JSCellInlines.h.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220801/f75061f7/attachment.htm>


More information about the webkit-unassigned mailing list