• Home
  • Raw
  • Download

Lines Matching refs:Handle

33   context_ = Handle<Context>::cast(frame_inspector->GetContext());  in ScopeIterator()
39 Handle<JSFunction> function = GetFunction(); in ScopeIterator()
40 Handle<SharedFunctionInfo> shared_info(function->shared()); in ScopeIterator()
41 Handle<ScopeInfo> scope_info(shared_info->scope_info()); in ScopeIterator()
44 context_ = Handle<Context>(context_->previous(), isolate_); in ScopeIterator()
64 Handle<DebugInfo> debug_info(shared_info->GetDebugInfo()); in ScopeIterator()
74 context_ = Handle<Context>(context_->declaration_context(), isolate_); in ScopeIterator()
77 context_ = Handle<Context>(context_->previous(), isolate_); in ScopeIterator()
93 Handle<Script> script(Script::cast(shared_info->script())); in ScopeIterator()
131 context_ = Handle<Context>(); in ScopeIterator()
136 ScopeIterator::ScopeIterator(Isolate* isolate, Handle<JSFunction> function) in ScopeIterator()
141 if (!function->shared()->IsSubjectToDebugging()) context_ = Handle<Context>(); in ScopeIterator()
146 Handle<JSGeneratorObject> generator) in ScopeIterator()
152 context_ = Handle<Context>(); in ScopeIterator()
161 Handle<Object> wrapped(context_->get(Context::WRAPPED_CONTEXT_INDEX), in UnwrapEvaluationContext()
164 context_ = Handle<Context>::cast(wrapped); in UnwrapEvaluationContext()
166 context_ = Handle<Context>(context_->previous(), isolate_); in UnwrapEvaluationContext()
174 Handle<FixedArray> details = in MaterializeScopeDetails()
178 Handle<JSObject> scope_object; in MaterializeScopeDetails()
181 Handle<JSFunction> js_function = HasContext() in MaterializeScopeDetails()
183 : Handle<JSFunction>::null(); in MaterializeScopeDetails()
200 Handle<String> closure_name = JSFunction::GetDebugName(js_function); in MaterializeScopeDetails()
218 context_ = Handle<Context>(); in Next()
222 context_ = Handle<Context>(context_->previous(), isolate_); in Next()
232 context_ = Handle<Context>(context_->previous(), isolate_); in Next()
237 context_ = Handle<Context>(context_->previous(), isolate_); in Next()
252 Handle<ScopeInfo> scope_info = nested_scope_chain_.last().scope_info; in Type()
308 return Handle<JSObject>(CurrentContext()->global_proxy()); in ScopeObject()
329 return Handle<JSObject>(); in ScopeObject()
345 bool ScopeIterator::SetVariableValue(Handle<String> variable_name, in SetVariableValue()
346 Handle<Object> new_value) { in SetVariableValue()
372 Handle<ScopeInfo> ScopeIterator::CurrentScopeInfo() { in CurrentScopeInfo()
378 return Handle<ScopeInfo>(context_->scope_info()); in CurrentScopeInfo()
380 return Handle<ScopeInfo>::null(); in CurrentScopeInfo()
384 Handle<Context> ScopeIterator::CurrentContext() { in CurrentContext()
392 return Handle<Context>(); in CurrentContext()
396 Handle<StringSet> ScopeIterator::GetNonLocals() { return non_locals_; } in GetNonLocals()
415 Handle<HeapObject> extension(CurrentContext()->extension(), isolate_); in DebugPrint()
439 Handle<HeapObject> extension(CurrentContext()->extension(), isolate_); in DebugPrint()
476 Handle<JSGlobalObject> global(CurrentContext()->global_object()); in MaterializeScriptScope()
477 Handle<ScriptContextTable> script_contexts( in MaterializeScriptScope()
480 Handle<JSObject> script_scope = in MaterializeScriptScope()
485 Handle<Context> context = in MaterializeScriptScope()
487 Handle<ScopeInfo> scope_info(context->scope_info()); in MaterializeScriptScope()
495 Handle<JSFunction> function = GetFunction(); in MaterializeLocalScope()
497 Handle<JSObject> local_scope = in MaterializeLocalScope()
501 Handle<Context> frame_context = in MaterializeLocalScope()
502 Handle<Context>::cast(frame_inspector_->GetContext()); in MaterializeLocalScope()
505 Handle<SharedFunctionInfo> shared(function->shared()); in MaterializeLocalScope()
506 Handle<ScopeInfo> scope_info(shared->scope_info()); in MaterializeLocalScope()
511 Handle<Context> function_context(frame_context->closure_context()); in MaterializeLocalScope()
528 Handle<JSObject> ScopeIterator::MaterializeClosure() { in MaterializeClosure()
529 Handle<Context> context = CurrentContext(); in MaterializeClosure()
532 Handle<SharedFunctionInfo> shared(context->closure()->shared()); in MaterializeClosure()
533 Handle<ScopeInfo> scope_info(shared->scope_info()); in MaterializeClosure()
537 Handle<JSObject> closure_scope = in MaterializeClosure()
554 Handle<JSObject> ScopeIterator::MaterializeCatchScope() { in MaterializeCatchScope()
555 Handle<Context> context = CurrentContext(); in MaterializeCatchScope()
557 Handle<String> name(context->catch_name()); in MaterializeCatchScope()
558 Handle<Object> thrown_object(context->get(Context::THROWN_OBJECT_INDEX), in MaterializeCatchScope()
560 Handle<JSObject> catch_scope = in MaterializeCatchScope()
570 Handle<JSObject> ScopeIterator::WithContextExtension() { in WithContextExtension()
571 Handle<Context> context = CurrentContext(); in WithContextExtension()
581 Handle<JSObject> ScopeIterator::MaterializeInnerScope() { in MaterializeInnerScope()
582 Handle<JSObject> inner_scope = in MaterializeInnerScope()
585 Handle<Context> context = Handle<Context>::null(); in MaterializeInnerScope()
587 Handle<ScopeInfo> scope_info = nested_scope_chain_.last().scope_info; in MaterializeInnerScope()
607 Handle<Context> context = CurrentContext(); in MaterializeModuleScope()
609 Handle<ScopeInfo> scope_info(context->scope_info()); in MaterializeModuleScope()
610 Handle<JSObject> module_scope = in MaterializeModuleScope()
617 bool ScopeIterator::SetParameterValue(Handle<ScopeInfo> scope_info, in SetParameterValue()
619 Handle<String> parameter_name, in SetParameterValue()
620 Handle<Object> new_value) { in SetParameterValue()
633 bool ScopeIterator::SetStackVariableValue(Handle<ScopeInfo> scope_info, in SetStackVariableValue()
634 Handle<String> variable_name, in SetStackVariableValue()
635 Handle<Object> new_value) { in SetStackVariableValue()
650 bool ScopeIterator::SetContextVariableValue(Handle<ScopeInfo> scope_info, in SetContextVariableValue()
651 Handle<Context> context, in SetContextVariableValue()
652 Handle<String> variable_name, in SetContextVariableValue()
653 Handle<Object> new_value) { in SetContextVariableValue()
656 Handle<String> next_name(scope_info->ContextLocalName(i)); in SetContextVariableValue()
669 Handle<JSObject> ext(context->extension_object()); in SetContextVariableValue()
684 bool ScopeIterator::SetLocalVariableValue(Handle<String> variable_name, in SetLocalVariableValue()
685 Handle<Object> new_value) { in SetLocalVariableValue()
687 Handle<ScopeInfo> scope_info(frame->function()->shared()->scope_info()); in SetLocalVariableValue()
706 bool ScopeIterator::SetInnerScopeVariableValue(Handle<String> variable_name, in SetInnerScopeVariableValue()
707 Handle<Object> new_value) { in SetInnerScopeVariableValue()
708 Handle<ScopeInfo> scope_info = CurrentScopeInfo(); in SetInnerScopeVariableValue()
726 bool ScopeIterator::SetClosureVariableValue(Handle<String> variable_name, in SetClosureVariableValue()
727 Handle<Object> new_value) { in SetClosureVariableValue()
734 bool ScopeIterator::SetScriptVariableValue(Handle<String> variable_name, in SetScriptVariableValue()
735 Handle<Object> new_value) { in SetScriptVariableValue()
736 Handle<String> internalized_variable_name = in SetScriptVariableValue()
738 Handle<Context> context = CurrentContext(); in SetScriptVariableValue()
739 Handle<ScriptContextTable> script_contexts( in SetScriptVariableValue()
744 Handle<Context> script_context = ScriptContextTable::GetContext( in SetScriptVariableValue()
753 bool ScopeIterator::SetCatchVariableValue(Handle<String> variable_name, in SetCatchVariableValue()
754 Handle<Object> new_value) { in SetCatchVariableValue()
755 Handle<Context> context = CurrentContext(); in SetCatchVariableValue()
757 Handle<String> name(context->catch_name()); in SetCatchVariableValue()
767 Handle<ScopeInfo> scope_info, Handle<Context> context, in CopyContextLocalsToScopeObject()
768 Handle<JSObject> scope_object) { in CopyContextLocalsToScopeObject()
774 Handle<String> name(scope_info->ContextLocalName(i)); in CopyContextLocalsToScopeObject()
777 Handle<Object> value = Handle<Object>(context->get(context_index), isolate); in CopyContextLocalsToScopeObject()
787 void ScopeIterator::CopyModuleVarsToScopeObject(Handle<ScopeInfo> scope_info, in CopyModuleVarsToScopeObject()
788 Handle<Context> context, in CopyModuleVarsToScopeObject()
789 Handle<JSObject> scope_object) { in CopyModuleVarsToScopeObject()
796 Handle<String> local_name; in CopyModuleVarsToScopeObject()
797 Handle<Object> value; in CopyModuleVarsToScopeObject()
818 Handle<Context> context, Handle<JSObject> scope_object, in CopyContextExtensionToScopeObject()
821 Handle<JSObject> extension(context->extension_object()); in CopyContextExtensionToScopeObject()
822 Handle<FixedArray> keys = in CopyContextExtensionToScopeObject()
829 Handle<String> key(String::cast(keys->get(i))); in CopyContextExtensionToScopeObject()
830 Handle<Object> value = in CopyContextExtensionToScopeObject()
842 Handle<JSFunction> function = frame_inspector_->GetFunction(); in GetNestedScopeChain()