diff options
author | Sean Harmer <sean.harmer.qnx@kdab.com> | 2012-04-26 14:03:16 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-13 09:57:58 +0200 |
commit | dd3e063354c02798490d7fc17f782e3f70441775 (patch) | |
tree | 5a87f77acb058751d9c6175400295f1533192ed1 /src | |
parent | 604daa4b778606be54648103c973d79e1008e69a (diff) | |
download | qtjsbackend-dd3e063354c02798490d7fc17f782e3f70441775.tar.gz |
[V8] Update QNX platform port so that it builds once again
Change-Id: I2802faac0d9e72f5db4a64935f4dae91319ff786
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/3rdparty/v8/src/platform-qnx.cc | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/3rdparty/v8/src/platform-qnx.cc b/src/3rdparty/v8/src/platform-qnx.cc index 95cb120..2dda57a 100644 --- a/src/3rdparty/v8/src/platform-qnx.cc +++ b/src/3rdparty/v8/src/platform-qnx.cc @@ -77,7 +77,7 @@ double ceiling(double x) { static Mutex* limit_mutex = NULL; -void OS::Setup() { +void OS::SetUp() { // Seed the random number generator. We preserve microsecond resolution. uint64_t seed = Ticks() ^ (getpid() << 16); srandom(static_cast<unsigned int>(seed)); @@ -625,14 +625,8 @@ class Thread::PlatformData : public Malloced { Thread::Thread(const Options& options) : data_(new PlatformData()), - stack_size_(options.stack_size) { - set_name(options.name); -} - -Thread::Thread(const char* name) - : data_(new PlatformData()), - stack_size_(0) { - set_name(name); + stack_size_(options.stack_size()) { + set_name(options.name()); } |