Merged the global function cache into the source code cache
authorggaren@apple.com <ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Feb 2013 19:54:09 +0000 (19:54 +0000)
committerggaren@apple.com <ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Feb 2013 19:54:09 +0000 (19:54 +0000)
commit69693e4ee6b6856370ce430d9fbd658a524b7499
tree6e005006fe9e36aaa9857db859e5562f00e50830
parent43cc5e1b3f36f0ec500cac2d0a27b2d1760b0e97
Merged the global function cache into the source code cache
https://bugs.webkit.org/show_bug.cgi?id=108660

Reviewed by Sam Weinig.

Responding to review comments by Darin Adler.

../JavaScriptCore:

* runtime/CodeCache.h:
(JSC::SourceCodeKey::SourceCodeKey): Don't initialize m_name and m_flags
in the hash table deleted value because they're meaningless.

../WTF:

* wtf/HashTraits.h: Added a using directive to simplify client code.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@143027 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/runtime/CodeCache.h
Source/WTF/ChangeLog
Source/WTF/wtf/HashTraits.h