| Index: src/platform-cygwin.cc
|
| diff --git a/src/platform-cygwin.cc b/src/platform-cygwin.cc
|
| index 65113282be38788799aa173c2003bb4a968d781b..b99d73584dc8bac1cf839a370cb0b211ba8122e1 100644
|
| --- a/src/platform-cygwin.cc
|
| +++ b/src/platform-cygwin.cc
|
| @@ -371,17 +371,15 @@ class Thread::PlatformData : public Malloced {
|
|
|
|
|
|
|
| -Thread::Thread(Isolate* isolate, const Options& options)
|
| +Thread::Thread(const Options& options)
|
| : data_(new PlatformData),
|
| - isolate_(isolate),
|
| stack_size_(options.stack_size) {
|
| set_name(options.name);
|
| }
|
|
|
|
|
| -Thread::Thread(Isolate* isolate, const char* name)
|
| +Thread::Thread(const char* name)
|
| : data_(new PlatformData),
|
| - isolate_(isolate),
|
| stack_size_(0) {
|
| set_name(name);
|
| }
|
| @@ -399,7 +397,6 @@ static void* ThreadEntry(void* arg) {
|
| // one) so we initialize it here too.
|
| thread->data()->thread_ = pthread_self();
|
| ASSERT(thread->data()->thread_ != kNoThread);
|
| - Thread::SetThreadLocal(Isolate::isolate_key(), thread->isolate());
|
| thread->Run();
|
| return NULL;
|
| }
|
| @@ -631,7 +628,7 @@ class Sampler::PlatformData : public Malloced {
|
| class SamplerThread : public Thread {
|
| public:
|
| explicit SamplerThread(int interval)
|
| - : Thread(NULL, "SamplerThread"),
|
| + : Thread("SamplerThread"),
|
| interval_(interval) {}
|
|
|
| static void AddActiveSampler(Sampler* sampler) {
|
|
|