That makes code a bit more consistent. Instead of removing sections there
we can just mark them as dead. So that removeEmptyCommands() will
handle the rest.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
On second thought, I think removeUnusedSyntehticSections is a source of confusion. This mechanism seems too hacky, and that's why you need to write many pieces of tricky code. I feels we could design a better mechanism. Can you visit this again to design something new?