| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index e7b1769aaf3a42764b6bd97004dfcbb6e75d558e..537828c26b0a51f019c28a65e5ff610e01b4c8b3 100644
|
| --- a/src/isolate.cc
|
| +++ b/src/isolate.cc
|
| @@ -1556,9 +1556,6 @@ Handle<Context> Isolate::GetCallingNativeContext() {
|
|
|
|
|
| char* Isolate::ArchiveThread(char* to) {
|
| - if (RuntimeProfiler::IsEnabled() && current_vm_state() == JS) {
|
| - RuntimeProfiler::IsolateExitedJS(this);
|
| - }
|
| memcpy(to, reinterpret_cast<char*>(thread_local_top()),
|
| sizeof(ThreadLocalTop));
|
| InitializeThreadLocal();
|
| @@ -1581,9 +1578,6 @@ char* Isolate::RestoreThread(char* from) {
|
| thread_local_top()->simulator_ = Simulator::current(this);
|
| #endif
|
| #endif
|
| - if (RuntimeProfiler::IsEnabled() && current_vm_state() == JS) {
|
| - RuntimeProfiler::IsolateEnteredJS(this);
|
| - }
|
| ASSERT(context() == NULL || context()->IsContext());
|
| return from + sizeof(ThreadLocalTop);
|
| }
|
|
|