Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 537828c26b0a51f019c28a65e5ff610e01b4c8b3..cd6ee4756976ba8502117bdc0168168a5f513805 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -371,6 +371,12 @@ Isolate::PerIsolateThreadData* |
Isolate::PerIsolateThreadData* Isolate::FindPerThreadDataForThisThread() { |
ThreadId thread_id = ThreadId::Current(); |
+ return FindPerThreadDataForThread(thread_id); |
+} |
+ |
+ |
+Isolate::PerIsolateThreadData* Isolate::FindPerThreadDataForThread( |
+ ThreadId thread_id) { |
PerIsolateThreadData* per_thread = NULL; |
{ |
ScopedLock lock(process_wide_mutex_); |