Title: [143283] trunk/Source/_javascript_Core
- Revision
- 143283
- Author
- [email protected]
- Date
- 2013-02-18 17:56:38 -0800 (Mon, 18 Feb 2013)
Log 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.
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (143282 => 143283)
--- trunk/Source/_javascript_Core/ChangeLog 2013-02-19 01:55:58 UTC (rev 143282)
+++ trunk/Source/_javascript_Core/ChangeLog 2013-02-19 01:56:38 UTC (rev 143283)
@@ -1,3 +1,16 @@
+2013-02-18 Darin Adler <[email protected]>
+
+ 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.
2013-02-18 Geoffrey Garen <[email protected]>
Shrank the SourceProvider cache
Modified: trunk/Source/_javascript_Core/runtime/Identifier.cpp (143282 => 143283)
--- trunk/Source/_javascript_Core/runtime/Identifier.cpp 2013-02-19 01:55:58 UTC (rev 143282)
+++ trunk/Source/_javascript_Core/runtime/Identifier.cpp 2013-02-19 01:56:38 UTC (rev 143283)
@@ -51,7 +51,7 @@
struct IdentifierASCIIStringTranslator {
static unsigned hash(const LChar* c)
{
- return StringHasher::computeHashAndMaskTop8Bits<LChar>(c);
+ return StringHasher::computeHashAndMaskTop8Bits(c);
}
static bool equal(StringImpl* r, const LChar* s)
@@ -70,7 +70,7 @@
struct IdentifierLCharFromUCharTranslator {
static unsigned hash(const CharBuffer<UChar>& buf)
{
- return StringHasher::computeHashAndMaskTop8Bits<UChar>(buf.s, buf.length);
+ return StringHasher::computeHashAndMaskTop8Bits(buf.s, buf.length);
}
static bool equal(StringImpl* str, const CharBuffer<UChar>& buf)
Modified: trunk/Source/_javascript_Core/runtime/Identifier.h (143282 => 143283)
--- trunk/Source/_javascript_Core/runtime/Identifier.h 2013-02-19 01:55:58 UTC (rev 143282)
+++ trunk/Source/_javascript_Core/runtime/Identifier.h 2013-02-19 01:56:38 UTC (rev 143283)
@@ -150,7 +150,7 @@
struct IdentifierCharBufferTranslator {
static unsigned hash(const CharBuffer<T>& buf)
{
- return StringHasher::computeHashAndMaskTop8Bits<T>(buf.s, buf.length);
+ return StringHasher::computeHashAndMaskTop8Bits(buf.s, buf.length);
}
static bool equal(StringImpl* str, const CharBuffer<T>& buf)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes