Summary: | Make CheckedArithmetic slightly more sane | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Oliver Hunt <oliver> | ||||
Component: | New Bugs | Assignee: | Oliver Hunt <oliver> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | benjamin, cmarcelo, ojan.autocc, webkit.review.bot | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Oliver Hunt
2013-03-12 12:46:32 PDT
Created attachment 192789 [details]
Patch
Comment on attachment 192789 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=192789&action=review r=me > Source/WTF/wtf/CheckedArithmetic.h:73 > + HasOverflowed, > + Safe I think this would be clearer if the two states were called "DidOverflow" and "DidNotOverflow". Whether something is "safe" is a value judgement this data cannot make. Committed r145580: <http://trac.webkit.org/changeset/145580> |