DescriptionImprove chances for inlining of ExceptionState::throwIfNeeded()
Since throwIfNeeded() is called quite often in generated bindings code
(and should generally return false), attempt to make is smaller by moving
the exception setup/throwing to a new method, and leave throwIfNeeded()
as a predicate guarding a call to that method.
This seems to get rid of a large number of direct calls to throwIfNeeded().
It also shrinks the binary by a non-negligible amount (~15k).
(Linux, x86-64, gcc-4.8.2)
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170447
Patch Set 1 #
Total comments: 7
Patch Set 2 : Drop LIKELY. #
Messages
Total messages: 10 (0 generated)
|