RESOLVED FIXED 206966
Don't include CCallHelpers.h in B3Procedure.h
https://bugs.webkit.org/show_bug.cgi?id=206966
Summary Don't include CCallHelpers.h in B3Procedure.h
Robin Morisset
Reported 2020-01-29 14:17:30 PST
It brings in AssemblyHelpers.h, which includes CodeBlock.h which brings basically the entire runtime. There is no need for random B3 files to know about Heap.h or Structure.h or anything like that.
Attachments
Patch (10.14 KB, patch)
2020-01-29 14:20 PST, Robin Morisset
no flags
fix style nit (10.19 KB, patch)
2020-01-29 14:21 PST, Robin Morisset
no flags
Robin Morisset
Comment 1 2020-01-29 14:20:31 PST
Robin Morisset
Comment 2 2020-01-29 14:21:46 PST
Created attachment 389186 [details] fix style nit
Saam Barati
Comment 3 2020-01-29 15:04:15 PST
Comment on attachment 389186 [details] fix style nit View in context: https://bugs.webkit.org/attachment.cgi?id=389186&action=review > Source/JavaScriptCore/b3/testb3_6.cpp:2176 > + CodeLocationLabel<B3CompilationPtrTag> labelOne = linkBuffer.locationOf<B3CompilationPtrTag>(proc.code().entrypointLabel(0)); should we also make AirCode not use Label directly?
Saam Barati
Comment 4 2020-01-29 15:05:57 PST
(In reply to Saam Barati from comment #3) > Comment on attachment 389186 [details] > fix style nit > > View in context: > https://bugs.webkit.org/attachment.cgi?id=389186&action=review > > > Source/JavaScriptCore/b3/testb3_6.cpp:2176 > > + CodeLocationLabel<B3CompilationPtrTag> labelOne = linkBuffer.locationOf<B3CompilationPtrTag>(proc.code().entrypointLabel(0)); > > should we also make AirCode not use Label directly? We could also make Label not depend on AssemblerLabel/Masm since we only have one type per compilation target
WebKit Commit Bot
Comment 5 2020-01-29 15:35:38 PST
Comment on attachment 389186 [details] fix style nit Clearing flags on attachment: 389186 Committed r255394: <https://trac.webkit.org/changeset/255394>
WebKit Commit Bot
Comment 6 2020-01-29 15:35:39 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 7 2020-01-29 15:36:14 PST
Note You need to log in before you can comment on or make changes to this bug.