Chromium Code Reviews| Index: src/d8.cc |
| =================================================================== |
| --- src/d8.cc (revision 6114) |
| +++ src/d8.cc (working copy) |
| @@ -599,7 +599,11 @@ |
| class ShellThread : public i::Thread { |
| public: |
| ShellThread(int no, i::Vector<const char> files) |
| - : no_(no), files_(files) { } |
| + : |
| +#ifdef DEBUG_THREAD_NAMES |
| + Thread("d8:ShellThread"), |
| +#endif |
| + no_(no), files_(files) { } |
| virtual void Run(); |
| private: |
| int no_; |