Title: [162798] branches/jsCStack/Source
Revision
162798
Author
[email protected]
Date
2014-01-25 23:19:08 -0800 (Sat, 25 Jan 2014)

Log Message

StubInfoMap should use CodeOriginApproximateHash
https://bugs.webkit.org/show_bug.cgi?id=127646

Not yet reviewed.

Source/_javascript_Core: 

* bytecode/StructureStubInfo.h:

Source/WTF: 

* wtf/BagToHashMap.h:
(WTF::toHashMap):

Modified Paths

Diff

Modified: branches/jsCStack/Source/_javascript_Core/ChangeLog (162797 => 162798)


--- branches/jsCStack/Source/_javascript_Core/ChangeLog	2014-01-26 06:53:00 UTC (rev 162797)
+++ branches/jsCStack/Source/_javascript_Core/ChangeLog	2014-01-26 07:19:08 UTC (rev 162798)
@@ -1,5 +1,14 @@
 2014-01-25  Filip Pizlo  <[email protected]>
 
+        StubInfoMap should use CodeOriginApproximateHash
+        https://bugs.webkit.org/show_bug.cgi?id=127646
+
+        Not yet reviewed.
+
+        * bytecode/StructureStubInfo.h:
+
+2014-01-25  Filip Pizlo  <[email protected]>
+
         FTL should do polyvariant Call/Construct inlining
         https://bugs.webkit.org/show_bug.cgi?id=127335
 

Modified: branches/jsCStack/Source/_javascript_Core/bytecode/StructureStubInfo.h (162797 => 162798)


--- branches/jsCStack/Source/_javascript_Core/bytecode/StructureStubInfo.h	2014-01-26 06:53:00 UTC (rev 162797)
+++ branches/jsCStack/Source/_javascript_Core/bytecode/StructureStubInfo.h	2014-01-26 07:19:08 UTC (rev 162798)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2008, 2012, 2013 Apple Inc. All rights reserved.
+ * Copyright (C) 2008, 2012, 2013, 2014 Apple Inc. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -289,7 +289,7 @@
     return structureStubInfo.codeOrigin;
 }
 
-typedef HashMap<CodeOrigin, StructureStubInfo*> StubInfoMap;
+typedef HashMap<CodeOrigin, StructureStubInfo*, CodeOriginApproximateHash> StubInfoMap;
 
 #else
 

Modified: branches/jsCStack/Source/WTF/ChangeLog (162797 => 162798)


--- branches/jsCStack/Source/WTF/ChangeLog	2014-01-26 06:53:00 UTC (rev 162797)
+++ branches/jsCStack/Source/WTF/ChangeLog	2014-01-26 07:19:08 UTC (rev 162798)
@@ -1,3 +1,13 @@
+2014-01-25  Filip Pizlo  <[email protected]>
+
+        StubInfoMap should use CodeOriginApproximateHash
+        https://bugs.webkit.org/show_bug.cgi?id=127646
+
+        Not yet reviewed.
+
+        * wtf/BagToHashMap.h:
+        (WTF::toHashMap):
+
 2014-01-23  Filip Pizlo  <[email protected]>
 
         Unreviewed, fix build by adding a missing file.

Modified: branches/jsCStack/Source/WTF/wtf/BagToHashMap.h (162797 => 162798)


--- branches/jsCStack/Source/WTF/wtf/BagToHashMap.h	2014-01-26 06:53:00 UTC (rev 162797)
+++ branches/jsCStack/Source/WTF/wtf/BagToHashMap.h	2014-01-26 07:19:08 UTC (rev 162798)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2013 Apple Inc. All rights reserved.
+ * Copyright (C) 2013, 2014 Apple Inc. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -32,8 +32,8 @@
 
 namespace WTF {
 
-template<typename ElementType, typename KeyType, typename KeyGetterFunctor>
-void toHashMap(Bag<ElementType>& bag, KeyGetterFunctor& getKey, HashMap<KeyType, ElementType*>& result)
+template<typename ElementType, typename KeyType, typename HashArg, typename KeyGetterFunctor>
+void toHashMap(Bag<ElementType>& bag, KeyGetterFunctor& getKey, HashMap<KeyType, ElementType*, HashArg>& result)
 {
     for (typename Bag<ElementType>::iterator iter = bag.begin(); !!iter; ++iter) {
         ElementType* element = *iter;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to