Summary: | Make it possible to inline Identifier::equal | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Oliver Hunt <oliver> | ||||
Component: | New Bugs | Assignee: | Oliver Hunt <oliver> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Oliver Hunt
2011-06-13 11:49:15 PDT
Created attachment 96984 [details]
Patch
Comment on attachment 96984 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=96984&action=review > Source/JavaScriptCore/runtime/Identifier.h:138 > + inline bool Identifier::equal(const StringImpl* r, const UChar* s, unsigned length) Why isn't it const? (In reply to comment #2) > (From update of attachment 96984 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=96984&action=review > > > Source/JavaScriptCore/runtime/Identifier.h:138 > > + inline bool Identifier::equal(const StringImpl* r, const UChar* s, unsigned length) > > Why isn't it const? It's a static method, and therefore can't be :) Committed r88668: <http://trac.webkit.org/changeset/88668> |