Commit ff51fa06 authored by jochen@chromium.org's avatar jochen@chromium.org

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
parent 1888b8f1
...@@ -25,7 +25,6 @@ class OptimizingCompilerThread::CompileTask : public v8::Task { ...@@ -25,7 +25,6 @@ class OptimizingCompilerThread::CompileTask : public v8::Task {
private: private:
// v8::Task overrides. // v8::Task overrides.
virtual void Run() OVERRIDE { virtual void Run() OVERRIDE {
Isolate::SetIsolateThreadLocals(isolate_, NULL);
DisallowHeapAllocation no_allocation; DisallowHeapAllocation no_allocation;
DisallowHandleAllocation no_handles; DisallowHandleAllocation no_handles;
DisallowHandleDereference no_deref; DisallowHandleDereference no_deref;
...@@ -79,7 +78,6 @@ void OptimizingCompilerThread::Run() { ...@@ -79,7 +78,6 @@ void OptimizingCompilerThread::Run() {
thread_id_ = ThreadId::Current().ToInteger(); thread_id_ = ThreadId::Current().ToInteger();
} }
#endif #endif
Isolate::SetIsolateThreadLocals(isolate_, NULL);
DisallowHeapAllocation no_allocation; DisallowHeapAllocation no_allocation;
DisallowHandleAllocation no_handles; DisallowHandleAllocation no_handles;
DisallowHandleDereference no_deref; DisallowHandleDereference no_deref;
......
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