| Index: src/d8.cc
|
| diff --git a/src/d8.cc b/src/d8.cc
|
| index 022860ead8dcc68e03d6bd54d4d1907372c237e2..5a5238011aea88af32d8506d90d1fb3060bd1174 100644
|
| --- a/src/d8.cc
|
| +++ b/src/d8.cc
|
| @@ -771,8 +771,8 @@ void Shell::RunShell() {
|
|
|
| class ShellThread : public i::Thread {
|
| public:
|
| - ShellThread(i::Isolate* isolate, int no, i::Vector<const char> files)
|
| - : Thread(isolate, "d8:ShellThread"),
|
| + ShellThread(int no, i::Vector<const char> files)
|
| + : Thread("d8:ShellThread"),
|
| no_(no), files_(files) { }
|
| virtual void Run();
|
| private:
|
| @@ -879,8 +879,7 @@ int Shell::RunMain(int argc, char* argv[]) {
|
| const char* files = ReadChars(argv[++i], &size);
|
| if (files == NULL) return 1;
|
| ShellThread* thread =
|
| - new ShellThread(i::Isolate::Current(),
|
| - threads.length(),
|
| + new ShellThread(threads.length(),
|
| i::Vector<const char>(files, size));
|
| thread->Start();
|
| threads.Add(thread);
|
|
|