Lines Matching defs:isolate
56 Debug::Debug(Isolate* isolate)
65 isolate_(isolate) {
87 Isolate* isolate = Isolate::Current();
89 isolate,
90 isolate->stub_cache()->ComputeCallDebugBreak(argc, kind),
96 Isolate* isolate = Isolate::Current();
98 isolate,
99 isolate->stub_cache()->ComputeCallDebugPrepareStepIn(argc, kind),
104 static v8::Handle<v8::Context> GetDebugEventContext(Isolate* isolate) {
105 Handle<Context> context = isolate->debug()->debugger_entry()->GetContext();
106 // Isolate::context() may have been NULL when "script collected" event
635 GlobalHandles* global_handles = Isolate::Current()->global_handles();
673 Debugger* debugger = Isolate::Current()->debugger();
682 GlobalHandles* global_handles = Isolate::Current()->global_handles();
730 Debug* debug = Isolate::Current()->debug();
750 GlobalHandles* global_handles = Isolate::Current()->global_handles();
762 Isolate::Current()->global_handles()->Destroy(
768 Isolate* isolate = Isolate::Current();
769 Factory* factory = isolate->factory();
770 HandleScope scope(isolate);
779 isolate->bootstrapper()->NativesSourceLookup(index);
793 ASSERT(isolate->has_pending_exception());
794 isolate->clear_pending_exception();
799 Handle<Context> context = isolate->global_context();
812 MessageHandler::ReportMessage(Isolate::Current(), NULL, message);
827 ASSERT(Isolate::Current() == isolate_);
900 Isolate::Current()->global_handles()->Destroy(
1029 return isolate->debug()->Break(args);
1073 ASSERT(Isolate::Current() == isolate_);
1259 ASSERT(Isolate::Current() == isolate_);
1529 return Isolate::Current()->builtins()->LoadIC_DebugBreak();
1532 return Isolate::Current()->builtins()->StoreIC_DebugBreak();
1535 return Isolate::Current()->builtins()->KeyedLoadIC_DebugBreak();
1538 return Isolate::Current()->builtins()->KeyedStoreIC_DebugBreak();
1546 Isolate::Current()->builtins()->ConstructCall_DebugBreak();
1552 Isolate::Current()->builtins()->StubNoRegisters_DebugBreak();
1564 Isolate* isolate = Isolate::Current();
1565 Heap* heap = isolate->heap();
1572 isolate->factory()->NewFixedArray(debug_info->GetBreakPointCount());
1622 Isolate::Current()->builtins()->builtin(Builtins::kFunctionApply) ||
1624 Isolate::Current()->builtins()->builtin(Builtins::kFunctionCall)) {
1764 ASSERT(Isolate::Current() == isolate_);
1897 ASSERT(Isolate::Current() == isolate_);
1905 Handle<Object> fun(Isolate::Current()->global()->GetPropertyNoExceptionThrown(
1917 ASSERT(Isolate::Current() == isolate_);
1959 ASSERT(Isolate::Current() == isolate_);
1989 Debugger::Debugger(Isolate* isolate)
1990 : debugger_access_(isolate->debugger_access()),
2007 isolate_(isolate) {
2022 ASSERT(Isolate::Current() == isolate_);
2044 ASSERT(Isolate::Current() == isolate_);
2058 ASSERT(Isolate::Current() == isolate_);
2074 ASSERT(Isolate::Current() == isolate_);
2089 ASSERT(Isolate::Current() == isolate_);
2101 ASSERT(Isolate::Current() == isolate_);
2121 ASSERT(Isolate::Current() == isolate_);
2136 ASSERT(Isolate::Current() == isolate_);
2181 ASSERT(Isolate::Current() == isolate_);
2191 ASSERT(Isolate::Current()->context() == *isolate_->debug()->debug_context());
2214 ASSERT(Isolate::Current() == isolate_);
2244 ASSERT(Isolate::Current() == isolate_);
2288 Isolate::Current()->js_builtins_object(), argc, argv,
2313 ASSERT(Isolate::Current() == isolate_);
2343 ASSERT(Isolate::Current() == isolate_);
2419 ASSERT(Isolate::Current() == isolate_);
2435 ASSERT(Isolate::Current() == isolate_);
2443 ASSERT(Isolate::Current() == isolate_);
2463 ASSERT(Isolate::Current() == isolate_);
2633 ASSERT(Isolate::Current() == isolate_);
2667 ASSERT(Isolate::Current() == isolate_);
2683 ASSERT(Isolate::Current() == isolate_);
2699 ASSERT(Isolate::Current() == isolate_);
2707 ASSERT(Isolate::Current() == isolate_);
2721 ASSERT(Isolate::Current() == isolate_);
2736 ASSERT(Isolate::Current() == isolate_);
2766 ASSERT(Isolate::Current() == isolate_);
2772 ASSERT(Isolate::Current() == isolate_);
2784 ASSERT(Isolate::Current() == isolate_);
2794 ASSERT(Isolate::Current() == isolate_);
2830 ASSERT(Isolate::Current() == isolate_);
2855 ASSERT(Isolate::Current() == isolate_);
2866 ASSERT(Isolate::Current() == isolate_);
2873 ASSERT(Isolate::Current() == isolate_);
2977 Isolate* isolate = Isolate::Current();
2978 v8::Handle<v8::Context> context = GetDebugEventContext(isolate);
2979 // Isolate::context() may be NULL when "script collected" event occures.
2981 return GetDebugEventContext(isolate);
3018 return GetDebugEventContext(Isolate::Current());
3145 MessageDispatchHelperThread::MessageDispatchHelperThread(Isolate* isolate)
3146 : Thread(isolate, "v8:MsgDispHelpr"),
3179 Isolate::Current()->debugger()->CallMessageDispatchHandler();