Ignore:
Timestamp:
Feb 18, 2013, 5:56:38 PM (12 years ago)
Author:
Darin Adler
Message:

Remove unneeded explicit function template arguments.
https://bugs.webkit.org/show_bug.cgi?id=110043

Reviewed by Ryosuke Niwa.

  • runtime/Identifier.cpp:

(JSC::IdentifierASCIIStringTranslator::hash): Let the compiler deduce the type
when calling computeHashAndMaskTop8Bits.
(JSC::IdentifierLCharFromUCharTranslator::hash): Ditto.

  • runtime/Identifier.h:

(JSC::IdentifierCharBufferTranslator::hash): Ditto.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/Identifier.h

    r132925 r143283  
    151151        static unsigned hash(const CharBuffer<T>& buf)
    152152        {
    153             return StringHasher::computeHashAndMaskTop8Bits<T>(buf.s, buf.length);
     153            return StringHasher::computeHashAndMaskTop8Bits(buf.s, buf.length);
    154154        }
    155155       
Note: See TracChangeset for help on using the changeset viewer.