[SCM] WebKit Debian packaging branch, webkit-1.3, updated. upstream/1.3.7-4207-g178b198
ggaren at apple.com
ggaren at apple.com
Sun Feb 20 22:45:03 UTC 2011
The following commit has been merged in the webkit-1.3 branch:
commit 1fde23bf6cc77866b8062f348ce0c6a5be9701ac
Author: ggaren at apple.com <ggaren at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Jan 11 00:41:02 2011 +0000
2011-01-10 Geoffrey Garen <ggaren at apple.com>
Reviewed by Oliver Hunt.
Removed dead number allocation code.
https://bugs.webkit.org/show_bug.cgi?id=52177
* runtime/Heap.h:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75451 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/JavaScriptCore/ChangeLog b/Source/JavaScriptCore/ChangeLog
index cf543c7..cccf57d 100644
--- a/Source/JavaScriptCore/ChangeLog
+++ b/Source/JavaScriptCore/ChangeLog
@@ -1,3 +1,12 @@
+2011-01-10 Geoffrey Garen <ggaren at apple.com>
+
+ Reviewed by Oliver Hunt.
+
+ Removed dead number allocation code.
+ https://bugs.webkit.org/show_bug.cgi?id=52177
+
+ * runtime/Heap.h:
+
2011-01-10 Daniel Bates <dbates at rim.com>
Reviewed by Darin Adler.
diff --git a/Source/JavaScriptCore/runtime/Heap.h b/Source/JavaScriptCore/runtime/Heap.h
index c7c040e..75f50dd 100644
--- a/Source/JavaScriptCore/runtime/Heap.h
+++ b/Source/JavaScriptCore/runtime/Heap.h
@@ -65,8 +65,6 @@ namespace JSC {
size_t nextCell;
PageAllocationAligned* blocks;
- void* nextNumber;
-
size_t numBlocks;
size_t usedBlocks;
@@ -85,7 +83,6 @@ namespace JSC {
public:
void destroy();
- void* allocateNumber(size_t);
void* allocate(size_t);
bool isBusy(); // true if an allocation or collection is in progress
@@ -295,19 +292,6 @@ namespace JSC {
recordExtraCost(cost);
}
- inline void* Heap::allocateNumber(size_t s)
- {
- if (void* result = m_heap.nextNumber) {
- m_heap.nextNumber = 0;
- return result;
- }
-
- void* result = allocate(s);
- m_heap.nextNumber = static_cast<char*>(result) + (CELL_SIZE / 2);
- return result;
- }
-
-
inline WeakGCHandlePool* Heap::weakGCHandlePool(size_t index)
{
return static_cast<WeakGCHandlePool*>(m_weakGCHandlePools[index].base());
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list