Lines Matching refs:isolate_

68       isolate_(isolate) {
720 isolate_->builtins()->builtin(Builtins::kReturn_DebugBreak);
724 isolate_->builtins()->builtin(Builtins::kSlot_DebugBreak);
844 Debugger* debugger = isolate_->debugger();
856 PostponeInterruptsScope postpone(isolate_);
859 HandleScope scope(isolate_);
861 isolate_->bootstrapper()->CreateEnvironment(
870 SaveContext save(isolate_);
871 isolate_->set_context(*context);
874 Handle<String> key = isolate_->factory()->InternalizeOneByteString(
878 isolate_,
881 Handle<Object>(global->builtins(), isolate_),
908 isolate_->global_handles()->Create(*context));
924 isolate_->global_handles()->Destroy(
944 Heap* heap = isolate_->heap();
945 HandleScope scope(isolate_);
951 JavaScriptFrameIterator it(isolate_);
967 PostponeInterruptsScope postpone(isolate_);
991 Handle<Object> break_points_hit(heap->undefined_value(), isolate_);
994 Handle<Object>(break_location_iterator.BreakPointObjects(), isolate_);
1023 isolate_->debugger()->OnDebugBreak(break_points_hit, false);
1036 JavaScriptFrameIterator it(isolate_);
1066 Code* plain_return = isolate_->builtins()->builtin(
1073 Code* plain_return = isolate_->builtins()->builtin(
1081 Code* plain_return = isolate_->builtins()->builtin(
1101 Factory* factory = isolate_->factory();
1112 Handle<Object> o(array->get(i), isolate_);
1137 Factory* factory = isolate_->factory();
1138 HandleScope scope(isolate_);
1159 isolate_->js_builtins_object(),
1192 HandleScope scope(isolate_);
1223 HandleScope scope(isolate_);
1265 HandleScope scope(isolate_);
1333 isolate_);
1350 for (JavaScriptFrameIterator it(isolate_, id); !it.done(); it.Advance()) {
1380 HandleScope scope(isolate_);
1405 JavaScriptFrameIterator frames_it(isolate_, id);
1530 isolate_->heap()->code_stubs()->SlowReverseLookup(
1532 isolate_);
1586 it.PrepareStepIn(isolate_);
2051 isolate_->optimizing_compiler_thread()->Flush();
2054 Deoptimizer::DeoptimizeAll(isolate_);
2057 Handle<Code>(isolate_->builtins()->builtin(Builtins::kLazyCompile));
2069 Heap* heap = isolate_->heap();
2079 CollectActiveFunctionsFromThread(isolate_,
2080 isolate_->thread_local_top(),
2085 isolate_->thread_manager()->IterateArchivedThreads(
2159 isolate_->debugger()->force_debugger_active();
2160 isolate_->debugger()->set_force_debugger_active(true);
2163 isolate_->debugger()->set_force_debugger_active(
2175 RedirectActivationsToRecompiledCodeOnThread(isolate_,
2176 isolate_->thread_local_top());
2179 isolate_->thread_manager()->IterateArchivedThreads(
2203 Heap* heap = isolate_->heap();
2339 isolate_->heap()->undefined_value());
2357 HandleScope scope(isolate_);
2442 HandleScope scope(isolate_);
2509 PostponeInterruptsScope postpone(isolate_);
2510 HandleScope scope(isolate_);
2511 ASSERT(isolate_->context() == *Debug::debug_context());
2514 Handle<String> function_name = isolate_->factory()->InternalizeOneByteString(
2517 isolate_->global_object()->GetPropertyNoExceptionThrown(*function_name),
2518 isolate_);
2528 Heap* heap = isolate_->heap();
2529 HandleScope scope(isolate_);
2582 isolate_->factory()->NewFixedArray(0);
2587 isolate_->heap()->CollectAllGarbage(Heap::kNoGCFlags,
2623 isolate_(isolate) {
2639 ASSERT(isolate_->context() == *isolate_->debug()->debug_context());
2643 isolate_->factory()->InternalizeUtf8String(constructor_name);
2645 isolate_->global_object()->GetPropertyNoExceptionThrown(*constructor_str),
2646 isolate_);
2650 return isolate_->factory()->undefined_value();
2654 Handle<JSObject>(isolate_->debug()->debug_context()->global_object()),
2664 Handle<Object> break_id = isolate_->factory()->NewNumberFromInt(
2665 isolate_->debug()->break_id());
2690 Factory* factory = isolate_->factory();
2716 Factory* factory = isolate_->factory();
2734 Handle<Object> id_object = Handle<Smi>(Smi::FromInt(id), isolate_);
2745 HandleScope scope(isolate_);
2746 Debug* debug = isolate_->debug();
2789 HandleScope scope(isolate_);
2792 ASSERT(isolate_->context() == *isolate_->debug()->debug_context());
2798 ASSERT(isolate_->context() == *isolate_->debug()->debug_context());
2821 HandleScope scope(isolate_);
2824 if (isolate_->debug()->InDebugger()) return;
2850 HandleScope scope(isolate_);
2851 Debug* debug = isolate_->debug();
2874 isolate_->factory()->InternalizeOneByteString(
2880 isolate_);
2921 HandleScope scope(isolate_);
2924 if (isolate_->debug()->InDebugger()) return;
2951 HandleScope scope(isolate_);
2955 isolate_->debug()->clear_interrupt_pending(DEBUGBREAK);
3030 Handle<Object> argv[] = { Handle<Object>(Smi::FromInt(event), isolate_),
3036 isolate_->global_object(),
3047 return isolate_->debug()->debug_context();
3052 Debug* debug = isolate_->debug();
3071 HandleScope scope(isolate_);
3073 if (!isolate_->debug()->Load()) return;
3102 ASSERT(isolate_->debug()->InDebugger());
3103 isolate_->stack_guard()->Continue(DEBUGCOMMAND);
3167 isolate_->logger()->DebugTag(
3242 HandleScope scope(isolate_);
3243 GlobalHandles* global_handles = isolate_->global_handles();
3264 data = isolate_->factory()->undefined_value();
3282 if (isolate_->debug()->InDebugger()) {
3292 isolate_->compilation_cache()->Disable();
3295 isolate_->compilation_cache()->Enable();
3316 message_dispatch_helper_thread_ = new MessageDispatchHelperThread(isolate_);
3344 isolate_->logger()->DebugTag("Put command on command_queue.");
3349 if (!isolate_->debug()->InDebugger()) {
3350 isolate_->stack_guard()->DebugCommand();
3377 if (!isolate_->debug()->InDebugger()) {
3378 isolate_->stack_guard()->DebugCommand();
3401 return isolate_->factory()->undefined_value();
3408 return isolate_->factory()->undefined_value();
3414 Handle<Object>(isolate_->debug()->debug_context_->global_proxy(),
3415 isolate_),
3430 ASSERT(Isolate::Current() == isolate_);
3455 ASSERT(Isolate::Current() == isolate_);
3466 ASSERT(Isolate::Current() == isolate_);
3485 : isolate_(Isolate::Current()),
3486 prev_(isolate_->debug()->debugger_entry()),
3487 it_(isolate_),
3489 save_(isolate_) {
3490 Debug* debug = isolate_->debug();
3514 isolate_->set_context(*debug->debug_context());
3520 ASSERT(Isolate::Current() == isolate_);
3521 Debug* debug = isolate_->debug();
3532 if (!isolate_->has_pending_exception()) {
3535 if (isolate_->stack_guard()->IsDebugBreak()) {
3537 isolate_->stack_guard()->Continue(DEBUGBREAK);
3548 isolate_->stack_guard()->Preempt();
3552 isolate_->stack_guard()->DebugBreak();
3557 if (isolate_->debugger()->HasCommands()) {
3558 isolate_->stack_guard()->DebugCommand();
3562 if (!isolate_->debugger()->IsDebuggerActive()) {
3563 isolate_->debugger()->UnloadDebugger();
3835 isolate_(isolate), sem_(OS::CreateSemaphore(0)),
3866 Locker locker(reinterpret_cast<v8::Isolate*>(isolate_));
3867 isolate_->debugger()->CallMessageDispatchHandler();