[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.17-1283-gcf603cf
eric at webkit.org
eric at webkit.org
Tue Jan 5 23:46:13 UTC 2010
The following commit has been merged in the webkit-1.1 branch:
commit 8ecf137216bec40c83f3cd7beadaf14cdedf5706
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Dec 9 23:01:31 2009 +0000
2009-12-09 Zoltan Herczeg <zherczeg at inf.u-szeged.hu>
Reviewed by Eric Seidel.
https://bugs.webkit.org/show_bug.cgi?id=31930
Update to r51457. ASSERTs changed to COMPILE_ASSERTs.
The speedup is 25%.
* runtime/JSGlobalData.cpp:
(JSC::VPtrSet::VPtrSet):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51928 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog
index 352ce76..7940139 100644
--- a/JavaScriptCore/ChangeLog
+++ b/JavaScriptCore/ChangeLog
@@ -1,3 +1,15 @@
+2009-12-09 Zoltan Herczeg <zherczeg at inf.u-szeged.hu>
+
+ Reviewed by Eric Seidel.
+
+ https://bugs.webkit.org/show_bug.cgi?id=31930
+
+ Update to r51457. ASSERTs changed to COMPILE_ASSERTs.
+ The speedup is 25%.
+
+ * runtime/JSGlobalData.cpp:
+ (JSC::VPtrSet::VPtrSet):
+
2009-12-09 Steve Block <steveblock at google.com>
Reviewed by Adam Barth.
diff --git a/JavaScriptCore/runtime/JSGlobalData.cpp b/JavaScriptCore/runtime/JSGlobalData.cpp
index 1e4593d..234449f 100644
--- a/JavaScriptCore/runtime/JSGlobalData.cpp
+++ b/JavaScriptCore/runtime/JSGlobalData.cpp
@@ -85,22 +85,22 @@ VPtrSet::VPtrSet()
CollectorCell cell;
void* storage = &cell;
- ASSERT(sizeof(JSArray) <= sizeof(CollectorCell));
+ COMPILE_ASSERT(sizeof(JSArray) <= sizeof(CollectorCell), sizeof_JSArray_must_be_less_than_CollectorCell);
JSCell* jsArray = new (storage) JSArray(JSArray::createStructure(jsNull()));
jsArrayVPtr = jsArray->vptr();
jsArray->~JSCell();
- ASSERT(sizeof(JSByteArray) <= sizeof(CollectorCell));
+ COMPILE_ASSERT(sizeof(JSByteArray) <= sizeof(CollectorCell), sizeof_JSByteArray_must_be_less_than_CollectorCell);
JSCell* jsByteArray = new (storage) JSByteArray(JSByteArray::VPtrStealingHack);
jsByteArrayVPtr = jsByteArray->vptr();
jsByteArray->~JSCell();
- ASSERT(sizeof(JSString) <= sizeof(CollectorCell));
+ COMPILE_ASSERT(sizeof(JSString) <= sizeof(CollectorCell), sizeof_JSString_must_be_less_than_CollectorCell);
JSCell* jsString = new (storage) JSString(JSString::VPtrStealingHack);
jsStringVPtr = jsString->vptr();
jsString->~JSCell();
- ASSERT(sizeof(JSFunction) <= sizeof(CollectorCell));
+ COMPILE_ASSERT(sizeof(JSFunction) <= sizeof(CollectorCell), sizeof_JSFunction_must_be_less_than_CollectorCell);
JSCell* jsFunction = new (storage) JSFunction(JSFunction::createStructure(jsNull()));
jsFunctionVPtr = jsFunction->vptr();
jsFunction->~JSCell();
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list