RESOLVED FIXED 230803
[JSC][32bit] Fix build after unlinked baseline JIT (r283083)
https://bugs.webkit.org/show_bug.cgi?id=230803
Summary [JSC][32bit] Fix build after unlinked baseline JIT (r283083)
Xan Lopez
Reported 2021-09-26 01:54:44 PDT
Bug #229223 broke 32-bit builds.
Attachments
WIP (23.45 KB, patch)
2021-09-30 07:16 PDT, Xan Lopez
no flags
v1 (28.03 KB, patch)
2021-10-01 06:44 PDT, Xan Lopez
ews-feeder: commit-queue-
v2 (28.52 KB, patch)
2021-10-01 06:50 PDT, Xan Lopez
ews-feeder: commit-queue-
v3 (29.05 KB, patch)
2021-10-01 07:05 PDT, Xan Lopez
ews-feeder: commit-queue-
v4 (29.28 KB, patch)
2021-10-01 07:23 PDT, Xan Lopez
saam: review+
v5 (29.44 KB, patch)
2021-10-01 10:49 PDT, Xan Lopez
xan.lopez: commit-queue+
v6 (29.55 KB, patch)
2021-10-01 10:54 PDT, Xan Lopez
no flags
Xan Lopez
Comment 1 2021-09-30 07:16:08 PDT
Created attachment 439734 [details] WIP This compiles/links/very basic stuff works, but it's still wrong and incomplete.
Kevin Neal
Comment 2 2021-09-30 15:11:49 PDT
Thank you for filing. The appropriate engineers have been notified.
Radar WebKit Bug Importer
Comment 3 2021-09-30 15:12:01 PDT
Xan Lopez
Comment 4 2021-10-01 06:44:12 PDT
Xan Lopez
Comment 5 2021-10-01 06:50:39 PDT
Created attachment 439851 [details] v2 Try to fix i386 build.
Xan Lopez
Comment 6 2021-10-01 07:05:01 PDT
Created attachment 439855 [details] v3 Add missing header to CMakeLists.txt
Xan Lopez
Comment 7 2021-10-01 07:23:32 PDT
Created attachment 439857 [details] v4 And another missing header... (RegisterMap.h)
Saam Barati
Comment 8 2021-10-01 10:22:32 PDT
Comment on attachment 439857 [details] v4 View in context: https://bugs.webkit.org/attachment.cgi?id=439857&action=review Seems like a good first step to get things building. r=me > Source/JavaScriptCore/bytecode/CallLinkInfo.h:28 > +#include "CallFrameShuffleData.h" why was this needed. Why didn't the forward declare work? > Source/JavaScriptCore/jit/JITInlines.h:369 > + UNUSED_PARAM(value); > + UNUSED_PARAM(bytecode); > + // FIXME. I think this can just be: emitValueProfilingSite(valueProfileFor(bytecode.metadata(m_profiledCodeBlock), m_bytecodeIndex.checkpoint()), value); > Source/JavaScriptCore/jit/JITOpcodes.cpp:1472 > + loadGlobalObject(resultRegs.payloadGPR()); // FIXME: need to move the whole thing. I think you just need: move(TrustedImm32(CellTag), resultRegs.tagGPR())
Xan Lopez
Comment 9 2021-10-01 10:33:55 PDT
(In reply to Saam Barati from comment #8) > Comment on attachment 439857 [details] > v4 > > View in context: > https://bugs.webkit.org/attachment.cgi?id=439857&action=review > > Seems like a good first step to get things building. r=me > > > Source/JavaScriptCore/bytecode/CallLinkInfo.h:28 > > +#include "CallFrameShuffleData.h" > > why was this needed. Why didn't the forward declare work? std::unique_ptr was complaining, but I read in the spec that it explicitly allows for incomplete types. I'll try again.
Xan Lopez
Comment 10 2021-10-01 10:49:59 PDT
Created attachment 439876 [details] v5 patch to land
Xan Lopez
Comment 11 2021-10-01 10:54:21 PDT
Created attachment 439877 [details] v6 v6, patch to land (credit a couple of colleagues who helped with this patch)
EWS
Comment 12 2021-10-01 12:06:13 PDT
Committed r283389 (242393@main): <https://commits.webkit.org/242393@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 439877 [details].
Note You need to log in before you can comment on or make changes to this bug.