Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(825)

Unified Diff: src/d8.cc

Issue 7003113: corrected parts in d8 that accesses the new "deisolated" Thread in platform.h (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: my bad, presubmit caught something Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/d8-debug.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | src/d8-debug.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698