summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-10-06 08:59:49 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-10-06 09:00:37 (GMT)
commit72f1e06aa6238f55729c4f3606d06ad7d37fe6df (patch)
tree9a47f4db8579a60c35bf6cf7f2cd2870be474790 /src
parente6fdab148b207b6e0cf9279b4b82578d95f021a9 (diff)
downloadQt-72f1e06aa6238f55729c4f3606d06ad7d37fe6df.zip
Qt-72f1e06aa6238f55729c4f3606d06ad7d37fe6df.tar.gz
Qt-72f1e06aa6238f55729c4f3606d06ad7d37fe6df.tar.bz2
Updated JavaScriptCore from /home/khansen/dev/qtwebkit to jsc-for-qtscript-4.6-staging-06102009 ( 32d226eb14d44f80e9ec96d4ca2c595181eeeca3 )
Diffstat (limited to 'src')
-rw-r--r--src/3rdparty/javascriptcore/JavaScriptCore/ChangeLog3
-rw-r--r--src/3rdparty/javascriptcore/JavaScriptCore/wtf/TCSystemAlloc.cpp10
-rw-r--r--src/3rdparty/javascriptcore/VERSION2
3 files changed, 6 insertions, 9 deletions
diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/ChangeLog b/src/3rdparty/javascriptcore/JavaScriptCore/ChangeLog
index 9dc7916..5fa56a7 100644
--- a/src/3rdparty/javascriptcore/JavaScriptCore/ChangeLog
+++ b/src/3rdparty/javascriptcore/JavaScriptCore/ChangeLog
@@ -195,8 +195,6 @@
(JSC::Heap::markCurrentThreadConservatively): Force jmp_buf to use the appropriate alignment for a pointer
to ensure that we correctly interpret the contents of registers during marking.
-<<<<<<< HEAD:JavaScriptCore/ChangeLog
-=======
2009-09-29 Geoffrey Garen <ggaren@apple.com>
Reviewed by Gavin Barraclough.
@@ -323,7 +321,6 @@
(JSC::MarkStack::allocateStack):
(JSC::MarkStack::releaseStack):
->>>>>>> 8e5ea20... Hard dependency on SSE2 instruction set with JIT:JavaScriptCore/ChangeLog
2009-09-25 Gabor Loki <loki@inf.u-szeged.hu>
Reviewed by Gavin Barraclough.
diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/TCSystemAlloc.cpp b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/TCSystemAlloc.cpp
index 659bb0e..a43baa8 100644
--- a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/TCSystemAlloc.cpp
+++ b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/TCSystemAlloc.cpp
@@ -193,10 +193,10 @@ static void* TryMmap(size_t size, size_t *actual_size, size_t alignment) {
// Return the unused memory to the system
if (adjust > 0) {
- munmap(reinterpret_cast<void*>(ptr), adjust);
+ munmap(reinterpret_cast<char*>(ptr), adjust);
}
if (adjust < extra) {
- munmap(reinterpret_cast<void*>(ptr + adjust + size), extra - adjust);
+ munmap(reinterpret_cast<char*>(ptr + adjust + size), extra - adjust);
}
ptr += adjust;
@@ -324,10 +324,10 @@ static void* TryDevMem(size_t size, size_t *actual_size, size_t alignment) {
// Return the unused virtual memory to the system
if (adjust > 0) {
- munmap(reinterpret_cast<void*>(ptr), adjust);
+ munmap(reinterpret_cast<char*>(ptr), adjust);
}
if (adjust < extra) {
- munmap(reinterpret_cast<void*>(ptr + adjust + size), extra - adjust);
+ munmap(reinterpret_cast<char*>(ptr + adjust + size), extra - adjust);
}
ptr += adjust;
@@ -442,7 +442,7 @@ void TCMalloc_SystemRelease(void* start, size_t length)
void TCMalloc_SystemRelease(void* start, size_t length)
{
- void* newAddress = mmap(start, length, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, -1, 0);
+ void* newAddress = mmap(reinterpret_cast<char*>(start), length, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, -1, 0);
// If the mmap failed then that's ok, we just won't return the memory to the system.
ASSERT_UNUSED(newAddress, newAddress == start || newAddress == reinterpret_cast<void*>(MAP_FAILED));
}
diff --git a/src/3rdparty/javascriptcore/VERSION b/src/3rdparty/javascriptcore/VERSION
index 571d10f..d75862d 100644
--- a/src/3rdparty/javascriptcore/VERSION
+++ b/src/3rdparty/javascriptcore/VERSION
@@ -8,4 +8,4 @@ The commit imported was from the
and has the sha1 checksum
- fc2005c87bbbb743eba96041210902fec821a1af
+ 32d226eb14d44f80e9ec96d4ca2c595181eeeca3