Remove unnecessary isolate TLS from compiler jobs
authorjochen@chromium.org <jochen@chromium.org>
Tue, 7 Oct 2014 09:54:18 +0000 (09:54 +0000)
committerjochen@chromium.org <jochen@chromium.org>
Tue, 7 Oct 2014 09:54:18 +0000 (09:54 +0000)
BUG=none
R=yangguo@chromium.org
LOG=n

Review URL: https://codereview.chromium.org/632903003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24430 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/optimizing-compiler-thread.cc

index a5ab106..ca1a1e6 100644 (file)
@@ -25,7 +25,6 @@ class OptimizingCompilerThread::CompileTask : public v8::Task {
  private:
   // v8::Task overrides.
   virtual void Run() OVERRIDE {
-    Isolate::SetIsolateThreadLocals(isolate_, NULL);
     DisallowHeapAllocation no_allocation;
     DisallowHandleAllocation no_handles;
     DisallowHandleDereference no_deref;
@@ -79,7 +78,6 @@ void OptimizingCompilerThread::Run() {
     thread_id_ = ThreadId::Current().ToInteger();
   }
 #endif
-  Isolate::SetIsolateThreadLocals(isolate_, NULL);
   DisallowHeapAllocation no_allocation;
   DisallowHandleAllocation no_handles;
   DisallowHandleDereference no_deref;