| Index: src/platform.h
|
| diff --git a/src/platform.h b/src/platform.h
|
| index 725008a784c531c139117e5c86a35372c5fcc4fa..31f727cf460abad4cf1e5e4a92a0b836633079db 100644
|
| --- a/src/platform.h
|
| +++ b/src/platform.h
|
| @@ -384,9 +384,9 @@ class Thread {
|
| int stack_size;
|
| };
|
|
|
| - // Create new thread (with a value for storing in the TLS isolate field).
|
| - Thread(Isolate* isolate, const Options& options);
|
| - Thread(Isolate* isolate, const char* name);
|
| + // Create new thread.
|
| + explicit Thread(const Options& options);
|
| + explicit Thread(const char* name);
|
| virtual ~Thread();
|
|
|
| // Start new thread by calling the Run() method in the new thread.
|
| @@ -433,7 +433,6 @@ class Thread {
|
| // A hint to the scheduler to let another thread run.
|
| static void YieldCPU();
|
|
|
| - Isolate* isolate() const { return isolate_; }
|
|
|
| // The thread name length is limited to 16 based on Linux's implementation of
|
| // prctl().
|
| @@ -447,7 +446,6 @@ class Thread {
|
|
|
| PlatformData* data_;
|
|
|
| - Isolate* isolate_;
|
| char name_[kMaxThreadNameLength];
|
| int stack_size_;
|
|
|
|
|