Chromium Code Reviews
DescriptionAdd DISABLE_CFI_PERF attribute on the methods with CFI checks disabled.
Types converted in this CL:
LayoutBlock, LayoutBlockFlow, InlineFlowBox, InlineBox.
While we have not observed CFI to slowdown real-world use cases,
there are a few blink_perf microbenchmarks, which are somewhat affected
by the change. This change removes CFI protection from the methods
which contribute the most to the slowdown.
Eventually, when proposed optimizations in Clang are implemented
(https://crbug.com/638056, https://crbug.com/638064), these attributes
would be possible to remove from all/most of the methods.
This CL does not in fact change the list of disabled methods, it
just converts them from CFI blacklist entries into attributes.
This should increase visibility, and also serve as a guard against refactoring.
BUG=641536
Committed: https://crrev.com/5e2204ad64fdcbc8efc4d1cad26a9da5672a39a8
Cr-Commit-Position: refs/heads/master@{#416727}
Patch Set 1 #Patch Set 2 : LayoutBlockFlow #Patch Set 3 : InlineFlowBox #Patch Set 4 : InlineBox #Messages
Total messages: 16 (11 generated)
|