• Home
  • Raw
  • Download

Lines Matching refs:isolate_

53       isolate_(isolate) {  in Debug()
365 isolate_->counters()->debug_feature_usage()->AddSample(feature); in Track()
436 PostponeInterruptsScope postpone(isolate_); in Load()
439 HandleScope scope(isolate_); in Load()
445 Handle<Context> context = isolate_->bootstrapper()->CreateEnvironment( in Load()
454 isolate_->global_handles()->Create(*context)); in Load()
487 PostponeInterruptsScope postpone(isolate_); in Break()
494 Handle<DebugInfo> debug_info(shared->GetDebugInfo(), isolate_); in Break()
506 Handle<JSArray> jsarr = isolate_->factory()->NewJSArrayWithElements( in Break()
548 OnDebugBreak(isolate_->factory()->undefined_value()); in Break()
574 HandleScope scope(isolate_); in IsMutedAtCurrentLocation()
604 PostponeInterruptsScope no_interrupts(isolate_); in CallFunction()
607 Handle<JSReceiver>::cast(isolate_->natives_utils_object()); in CallFunction()
609 JSReceiver::GetProperty(isolate_, holder, name).ToHandleChecked()); in CallFunction()
610 Handle<Object> undefined = isolate_->factory()->undefined_value(); in CallFunction()
612 return Execution::TryCall(isolate_, fun, undefined, argc, args, in CallFunction()
620 Factory* factory = isolate_->factory(); in CheckBreakPoint()
621 HandleScope scope(isolate_); in CheckBreakPoint()
638 return result->IsTrue(isolate_); in CheckBreakPoint()
645 HandleScope scope(isolate_); in SetBreakPoint()
675 WasmCompiledModule::cast(script->wasm_compiled_module()), isolate_); in SetBreakPointForScript()
680 HandleScope scope(isolate_); in SetBreakPointForScript()
685 if (result->IsUndefined(isolate_)) return false; in SetBreakPointForScript()
735 if (debug_info->break_points()->IsUndefined(isolate_)) return; in ApplyBreakPoints()
738 if (break_points->get(i)->IsUndefined(isolate_)) continue; in ApplyBreakPoints()
769 HandleScope scope(isolate_); in ClearBreakPoint()
775 if (result->IsUndefined(isolate_)) continue; in ClearBreakPoint()
840 DCHECK(!break_point_objects->IsUndefined(isolate_)); in GetHitBreakPointObjects()
843 Handle<FixedArray> break_points_hit = isolate_->factory()->NewFixedArray(1); in GetHitBreakPointObjects()
851 isolate_->factory()->NewFixedArray(num_objects); in GetHitBreakPointObjects()
854 Handle<Object> break_point_object(array->get(i), isolate_); in GetHitBreakPointObjects()
869 FloodWithOneShot(Handle<SharedFunctionInfo>(function->shared(), isolate_)); in PrepareStepIn()
881 FloodWithOneShot(Handle<SharedFunctionInfo>(function->shared(), isolate_)); in PrepareStepInSuspendedGenerator()
896 JavaScriptFrameIterator it(isolate_); in PrepareStepOnThrow()
959 HandleScope scope(isolate_); in PrepareStep()
976 StackTraceFrameIterator frames_it(isolate_, frame_id); in PrepareStep()
1034 HandleScope scope(isolate_); in PrepareStep()
1246 if (isolate_->concurrent_recompilation_enabled()) { in PrepareFunctionForBreakPoints()
1247 isolate_->optimizing_compile_dispatcher()->Flush( in PrepareFunctionForBreakPoints()
1257 SharedFunctionInfo::GlobalIterator iterator(isolate_); in PrepareFunctionForBreakPoints()
1264 isolate_->ClearOSROptimizedCode(); in PrepareFunctionForBreakPoints()
1267 isolate_->heap()->CollectAllGarbage(Heap::kMakeHeapIterableMask, in PrepareFunctionForBreakPoints()
1277 HeapIterator iterator(isolate_->heap()); in PrepareFunctionForBreakPoints()
1309 redirect_visitor.VisitThread(isolate_, isolate_->thread_local_top()); in PrepareFunctionForBreakPoints()
1310 isolate_->thread_manager()->IterateArchivedThreads(&redirect_visitor); in PrepareFunctionForBreakPoints()
1348 HandleScope scope(isolate_); in GetPossibleBreakpoints()
1492 HandleScope scope(isolate_); in FindSharedFunctionInfoInScript()
1497 return isolate_->factory()->undefined_value(); in FindSharedFunctionInfoInScript()
1521 Handle<DebugInfo> debug_info = isolate_->factory()->NewDebugInfo(shared); in CreateDebugInfo()
1531 HandleScope scope(isolate_); in RemoveDebugInfoAndClearFromShared()
1559 HandleScope scope(isolate_); in IsBreakAtReturn()
1584 StackTraceFrameIterator it(isolate_); in ScheduleFrameRestart()
1586 for (StackTraceFrameIterator it(isolate_); !it.done(); it.Advance()) { in ScheduleFrameRestart()
1601 isolate_->heap()->CollectAllGarbage(Heap::kFinalizeIncrementalMarkingMask, in GetLoadedScripts()
1603 Factory* factory = isolate_->factory(); in GetLoadedScripts()
1612 Script::Iterator iterator(isolate_); in GetLoadedScripts()
1625 Handle<Object> argv[] = { isolate_->factory()->NewNumberFromInt(break_id()) }; in MakeExecutionState()
1632 Handle<Object> argv[] = { isolate_->factory()->NewNumberFromInt(break_id()), in MakeBreakEvent()
1642 Handle<Object> argv[] = { isolate_->factory()->NewNumberFromInt(break_id()), in MakeExceptionEvent()
1644 isolate_->factory()->ToBoolean(uncaught), in MakeExceptionEvent()
1655 isolate_->factory()->NewNumberFromInt(type) }; in MakeCompileEvent()
1662 Handle<Object> argv[] = {Handle<Smi>(Smi::FromInt(type), isolate_), in MakeAsyncTaskEvent()
1663 Handle<Smi>(Smi::FromInt(id), isolate_)}; in MakeAsyncTaskEvent()
1672 HandleScope scope(isolate_); in OnThrow()
1674 if (isolate_->has_scheduled_exception()) { in OnThrow()
1675 scheduled_exception = handle(isolate_->scheduled_exception(), isolate_); in OnThrow()
1676 isolate_->clear_scheduled_exception(); in OnThrow()
1678 OnException(exception, isolate_->GetPromiseOnStackOnThrow()); in OnThrow()
1680 isolate_->thread_local_top()->scheduled_exception_ = *scheduled_exception; in OnThrow()
1687 HandleScope scope(isolate_); in OnPromiseReject()
1689 Handle<Symbol> key = isolate_->factory()->promise_debug_marker_symbol(); in OnPromiseReject()
1692 ->IsUndefined(isolate_)) { in OnPromiseReject()
1709 JavaScriptFrameIterator it(isolate_); in IsExceptionBlackboxed()
1724 HandleScope scope(isolate_); in IsFrameBlackboxed()
1726 Handle<SharedFunctionInfo> shared(frame->function()->shared(), isolate_); in IsFrameBlackboxed()
1740 if (!AllowJavascriptExecution::IsAllowed(isolate_)) return; in OnException()
1742 Isolate::CatchType catch_type = isolate_->PredictExceptionCatcher(); in OnException()
1751 Handle<Symbol> key = isolate_->factory()->promise_debug_marker_symbol(); in OnException()
1754 uncaught = !isolate_->PromiseHasUserDefinedRejectHandler(jspromise); in OnException()
1769 JavaScriptFrameIterator it(isolate_); in OnException()
1780 HandleScope scope(isolate_); in OnException()
1781 PostponeInterruptsScope postpone(isolate_); in OnException()
1790 GetDebugEventContext(isolate_), in OnException()
1806 HandleScope scope(isolate_); in OnDebugBreak()
1807 PostponeInterruptsScope no_interrupts(isolate_); in OnDebugBreak()
1816 GetDebugEventContext(isolate_), in OnDebugBreak()
1894 int id = GetReferenceAsyncTaskId(isolate_, promise); in RunPromiseHook()
1900 isolate_, Handle<JSPromise>::cast(parent)) in RunPromiseHook()
1917 LookupIterator it(promise, isolate_->factory()->promise_async_id_symbol()); in NextAsyncTaskId()
1924 handle(Smi::FromInt(++thread_local_.async_task_count_), isolate_); in NextAsyncTaskId()
1927 Handle<Object> global_handle = isolate_->global_handles()->Create(*promise); in NextAsyncTaskId()
1938 this, isolate_), in NextAsyncTaskId()
1957 HandleScope handle_scope(isolate_); in IsBlackboxed()
1958 PostponeInterruptsScope no_interrupts(isolate_); in IsBlackboxed()
1980 DebugScope debug_scope(isolate_->debug()); in OnAsyncTaskEvent()
1982 HandleScope scope(isolate_); in OnAsyncTaskEvent()
1983 PostponeInterruptsScope no_interrupts(isolate_); in OnAsyncTaskEvent()
1998 HandleScope scope(isolate_); in ProcessCompileEvent()
1999 PostponeInterruptsScope postpone(isolate_); in ProcessCompileEvent()
2011 return handle(*debug_context(), isolate_); in GetDebugContext()
2015 StackTraceFrameIterator it(isolate_); in CurrentFrameCount()
2057 isolate_->compilation_cache()->Disable(); in UpdateState()
2060 isolate_->compilation_cache()->Enable(); in UpdateState()
2064 isolate_->DebugStateUpdated(); in UpdateState()
2070 isolate_->needs_side_effect_check(); in UpdateHookOnFunctionCall()
2075 if (debug_scope.failed()) return isolate_->factory()->undefined_value(); in Call()
2080 return isolate_->factory()->undefined_value(); in Call()
2085 isolate_, in Call()
2087 Handle<Object>(debug_context()->global_proxy(), isolate_), in Call()
2097 if (isolate_->bootstrapper()->IsActive()) return; in HandleDebugBreak()
2103 StackLimitCheck check(isolate_); in HandleDebugBreak()
2106 { JavaScriptFrameIterator it(isolate_); in HandleDebugBreak()
2110 HandleScope scope(isolate_); in HandleDebugBreak()
2113 isolate_); in HandleDebugBreak()
2134 isolate_->stack_guard()->ClearDebugBreak(); in HandleDebugBreak()
2139 HandleScope scope(isolate_); in HandleDebugBreak()
2143 OnDebugBreak(isolate_->factory()->undefined_value()); in HandleDebugBreak()
2149 HandleScope scope(isolate_); in PrintBreakLocation()
2150 StackTraceFrameIterator iterator(isolate_); in PrintBreakLocation()
2189 save_(debug_->isolate_), in DebugScope()
2190 no_termination_exceptons_(debug_->isolate_, in DebugScope()
2237 DCHECK(isolate_->needs_side_effect_check()); in PerformSideEffectCheck()
2238 DisallowJavascriptExecution no_js(isolate_); in PerformSideEffectCheck()
2248 isolate_->TerminateExecution(); in PerformSideEffectCheck()
2255 DCHECK(isolate_->needs_side_effect_check()); in PerformSideEffectCheckForCallback()
2259 isolate_->TerminateExecution(); in PerformSideEffectCheckForCallback()
2260 isolate_->OptionalRescheduleException(false); in PerformSideEffectCheckForCallback()
2267 if (isolate_->debug()->MakeAsyncTaskEvent(type, id).ToHandle(&event_data)) { in PromiseEventOccurred()
2276 if (isolate_->debug() in ScriptCompiled()
2287 if (isolate_->debug() in BreakProgramRequested()
2302 if (isolate_->debug() in ExceptionThrown()
2315 if (isolate_->debug()->MakeExecutionState().ToHandle(&exec_state)) { in ProcessDebugEvent()
2337 Handle<Object> argv[] = {Handle<Object>(Smi::FromInt(event), isolate_), in ProcessDebugEvent()
2339 Handle<JSReceiver> global = isolate_->global_proxy(); in ProcessDebugEvent()
2341 Execution::Call(isolate_, listener_, global, arraysize(argv), argv) in ProcessDebugEvent()
2396 Isolate* isolate = isolate_; in ProcessDebugEvent()
2402 if (isolate_->needs_side_effect_check() && in ~NoSideEffectScope()
2403 isolate_->debug()->side_effect_check_failed_) { in ~NoSideEffectScope()
2404 DCHECK(isolate_->has_pending_exception()); in ~NoSideEffectScope()
2405 DCHECK_EQ(isolate_->heap()->termination_exception(), in ~NoSideEffectScope()
2406 isolate_->pending_exception()); in ~NoSideEffectScope()
2408 isolate_->CancelTerminateExecution(); in ~NoSideEffectScope()
2409 isolate_->Throw(*isolate_->factory()->NewEvalError( in ~NoSideEffectScope()
2412 isolate_->set_needs_side_effect_check(old_needs_side_effect_check_); in ~NoSideEffectScope()
2413 isolate_->debug()->UpdateHookOnFunctionCall(); in ~NoSideEffectScope()
2414 isolate_->debug()->side_effect_check_failed_ = false; in ~NoSideEffectScope()