From: jochen@chromium.org Date: Tue, 7 Oct 2014 09:54:18 +0000 (+0000) Subject: Remove unnecessary isolate TLS from compiler jobs X-Git-Tag: upstream/4.7.83~6522 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ff51fa0691ce940e02d7918ac636531d1bf2946d;p=platform%2Fupstream%2Fv8.git Remove unnecessary isolate TLS from compiler jobs 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 --- diff --git a/src/optimizing-compiler-thread.cc b/src/optimizing-compiler-thread.cc index a5ab106..ca1a1e6 100644 --- a/src/optimizing-compiler-thread.cc +++ b/src/optimizing-compiler-thread.cc @@ -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;