Commit f5a0b2e7 authored by yangguo@chromium.org's avatar yangguo@chromium.org

corrected parts in d8 that accesses the new "deisolated" Thread in platform.h

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8265 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent b7a93d41
......@@ -99,7 +99,7 @@ class RemoteDebugger {
class ReceiverThread: public i::Thread {
public:
ReceiverThread(i::Isolate* isolate, RemoteDebugger* remote_debugger)
: Thread(isolate, "d8:ReceiverThrd"),
: Thread("d8:ReceiverThrd"),
remote_debugger_(remote_debugger) {}
~ReceiverThread() {}
......@@ -114,7 +114,7 @@ class ReceiverThread: public i::Thread {
class KeyboardThread: public i::Thread {
public:
explicit KeyboardThread(i::Isolate* isolate, RemoteDebugger* remote_debugger)
: Thread(isolate, "d8:KeyboardThrd"),
: Thread("d8:KeyboardThrd"),
remote_debugger_(remote_debugger) {}
~KeyboardThread() {}
......
......@@ -772,7 +772,7 @@ void Shell::RunShell() {
class ShellThread : public i::Thread {
public:
ShellThread(i::Isolate* isolate, int no, i::Vector<const char> files)
: Thread(isolate, "d8:ShellThread"),
: Thread("d8:ShellThread"),
no_(no), files_(files) { }
virtual void Run();
private:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment