Bug 161685

Summary: Fix the ENABLE(WEBASSEMBLY) build on Linux
Product: WebKit Reporter: Csaba Osztrogonác <ossy>
Component: JavaScriptCoreAssignee: Csaba Osztrogonác <ossy>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, keith_miller, mark.lam, msaboff, sbarati
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch for landing none

Description Csaba Osztrogonác 2016-09-07 02:39:01 PDT
Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/JSWASMModule.cpp.o:JSWASMModule.cpp:function JSC::JSWASMModule::JSWASMModule(JSC::VM&, JSC::Structure*, JSC::JSArrayBuffer*): error: undefined reference to 'JSC::AuxiliaryBarrier<JSC::Butterfly*>::AuxiliaryBarrier<JSC::Butterfly*&>(JSC::VM&, JSC::JSCell*, JSC::Butterfly*&)'

We need to include AuxiliaryBarrierInlines.h to fix it.

Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/JSWASMModule.cpp.o:JSWASMModule.cpp:function JSC::JSWASMModule::JSWASMModule(JSC::VM&, JSC::Structure*, JSC::JSArrayBuffer*): error: undefined reference to 'JSC::Heap::ascribeOwner(JSC::JSCell*, void*)'
Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/JSWASMModule.cpp.o:JSWASMModule.cpp:function JSC::JSWASMModule::JSWASMModule(JSC::VM&, JSC::Structure*, JSC::JSArrayBuffer*): error: undefined reference to 'JSC::Heap::writeBarrier(JSC::JSCell const*, JSC::JSCell*)'

We need to include HeapInlines.h to fix it.
Comment 1 Csaba Osztrogonác 2016-09-07 02:39:59 PDT
Created attachment 288127 [details]
Patch for landing
Comment 2 WebKit Commit Bot 2016-09-07 03:01:22 PDT
Comment on attachment 288127 [details]
Patch for landing

Clearing flags on attachment: 288127

Committed r205541: <http://trac.webkit.org/changeset/205541>
Comment 3 WebKit Commit Bot 2016-09-07 03:01:27 PDT
All reviewed patches have been landed.  Closing bug.