rdar://111057998 Currently, when logging the disassembly of a function compiled in B3, we log the B3 origin of every Air instruction before that Air instruction and its associated assembly. However, quite often, a single B3 value will correspond to multiple Air instructions, resulting in us logging the same B3 value multiple times for consecutive Air instructions with the same origin: b3 Void b@1 = Patchpoint(b@0:SomeRegister, b@2:SomeRegister, generator = 0x105114160, resultConstraints = WarmAny, ExitsSideways|ControlDependent|WritesPinned|ReadsPinned|Fence|Writes:Top|Reads:Top) Air Nop asm <32> 0x12a9280c0: nop b3 Void b@1 = Patchpoint(b@0:SomeRegister, b@2:SomeRegister, generator = 0x105114160, resultConstraints = WarmAny, ExitsSideways|ControlDependent|WritesPinned|ReadsPinned|Fence|Writes:Top|Reads:Top) Air Patch &Patchpoint0, %x19, %fp We could substantially reduce the size and visual clutter of B3 disassembly logs by only logging the B3 value if it's different from the previous one - B3 values that lower to multiple consecutive Air instructions will only log once: b3 Void b@1 = Patchpoint(b@0:SomeRegister, b@2:SomeRegister, generator = 0x1141a8160, resultConstraints = WarmAny, ExitsSideways|ControlDependent|WritesPinned|ReadsPinned|Fence|Writes:Top|Reads:Top) Air Nop asm <32> 0x1288300c0: nop Air Patch &Patchpoint0, %x19, %fp
Pull request: https://github.com/WebKit/WebKit/pull/15114
Committed 265338@main (0449dbc56f1d): <https://commits.webkit.org/265338@main> Reviewed commits have been landed. Closing PR #15114 and removing active labels.