Lines Matching refs:local_isolate
39 explicit SharedStringAccessGuardIfNeeded(LocalIsolate* local_isolate) {
40 if (IsNeeded(local_isolate)) {
41 mutex_guard.emplace(local_isolate->internalized_string_access());
62 static bool IsNeeded(LocalIsolate* local_isolate) {
63 // TODO(leszeks): Remove the nullptr check for local_isolate.
64 return local_isolate && !local_isolate->heap()->is_main_thread();
815 uint16_t String::Get(int index, LocalIsolate* local_isolate) const {
816 SharedStringAccessGuardIfNeeded scope(local_isolate);
817 return GetImpl(index, local_isolate, scope);