• Home
  • Raw
  • Download

Lines Matching refs:isolate_

26     : isolate_(isolate),  in ScopeIterator()
50 Handle<String> debug_name(closure_info->FunctionDebugName(), isolate_); in GetFunctionDebugName()
53 return isolate_->factory()->undefined_value(); in GetFunctionDebugName()
57 : isolate_(isolate), in ScopeIterator()
69 : isolate_(isolate), in ScopeIterator()
92 Handle<SharedFunctionInfo> shared_info(function_->shared(), isolate_); in TryParseAndRetrieveScopes()
93 Handle<ScopeInfo> scope_info(shared_info->scope_info(), isolate_); in TryParseAndRetrieveScopes()
94 if (shared_info->script()->IsUndefined(isolate_)) { in TryParseAndRetrieveScopes()
96 context_ = handle(function_->context(), isolate_); in TryParseAndRetrieveScopes()
110 Handle<DebugInfo> debug_info(shared_info->GetDebugInfo(), isolate_); in TryParseAndRetrieveScopes()
122 info_ = new ParseInfo(isolate_, shared_info); in TryParseAndRetrieveScopes()
125 Handle<Script> script(Script::cast(shared_info->script()), isolate_); in TryParseAndRetrieveScopes()
126 info_ = new ParseInfo(isolate_, script); in TryParseAndRetrieveScopes()
130 info_->set_outer_scope_info(handle(context_->scope_info(), isolate_)); in TryParseAndRetrieveScopes()
142 if (parsing::ParseAny(info_, shared_info, isolate_) && in TryParseAndRetrieveScopes()
144 info_->ast_value_factory()->Internalize(isolate_); in TryParseAndRetrieveScopes()
150 isolate_, info_, StringSet::New(isolate_)); in TryParseAndRetrieveScopes()
158 context_ = handle(context_->closure_context(), isolate_); in TryParseAndRetrieveScopes()
172 CHECK(isolate_->has_pending_exception()); in TryParseAndRetrieveScopes()
173 isolate_->clear_pending_exception(); in TryParseAndRetrieveScopes()
190 context_ = handle(current, isolate_); in UnwrapEvaluationContext()
196 isolate_->factory()->NewFixedArray(kScopeDetailsSize); in MaterializeScopeDetails()
202 return isolate_->factory()->NewJSArrayWithElements(details); in MaterializeScopeDetails()
213 return isolate_->factory()->NewJSArrayWithElements(details); in MaterializeScopeDetails()
271 context_ = handle(context_->previous(), isolate_); in Next()
275 context_ = handle(context_->previous(), isolate_); in Next()
281 context_ = handle(context_->previous(), isolate_); in Next()
361 return handle(context_->global_proxy(), isolate_); in ScopeObject()
368 Handle<JSObject> scope = isolate_->factory()->NewJSObjectWithNullProto(); in ScopeObject()
370 JSObject::AddProperty(isolate_, scope, name, value, NONE); in ScopeObject()
404 name = isolate_->factory()->InternalizeString(name); in SetVariableValue()
460 Handle<HeapObject> extension(context_->extension(), isolate_); in DebugPrint()
483 Handle<HeapObject> extension(context_->extension(), isolate_); in DebugPrint()
542 Handle<JSGlobalObject> global(context_->global_object(), isolate_); in VisitScriptScope()
544 global->native_context()->script_context_table(), isolate_); in VisitScriptScope()
550 isolate_, script_contexts, context_index); in VisitScriptScope()
551 Handle<ScopeInfo> scope_info(context->scope_info(), isolate_); in VisitScriptScope()
559 Handle<ScopeInfo> scope_info(context_->scope_info(), isolate_); in VisitModuleScope()
565 Handle<Module> module(context_->module(), isolate_); in VisitModuleScope()
574 name = handle(raw_name, isolate_); in VisitModuleScope()
576 Handle<Object> value = Module::LoadVariable(isolate_, module, index); in VisitModuleScope()
579 if (value->IsTheHole(isolate_)) continue; in VisitModuleScope()
589 Handle<String> name(scope_info->ContextLocalName(i), isolate_); in VisitContextLocals()
592 Handle<Object> value(context->get(context_index), isolate_); in VisitContextLocals()
594 if (value->IsTheHole(isolate_)) continue; in VisitContextLocals()
626 value = handle(generator_->receiver(), isolate_); in VisitLocals()
631 value = handle(parameters_and_registers->get(index), isolate_); in VisitLocals()
637 if (value->IsOptimizedOut(isolate_)) { in VisitLocals()
638 value = isolate_->factory()->undefined_value(); in VisitLocals()
639 } else if (var->is_this() && value->IsTheHole(isolate_)) { in VisitLocals()
640 value = isolate_->factory()->undefined_value(); in VisitLocals()
656 value = handle(parameters_and_registers->get(index), isolate_); in VisitLocals()
657 if (value->IsTheHole(isolate_)) { in VisitLocals()
658 value = isolate_->factory()->undefined_value(); in VisitLocals()
662 if (value->IsOptimizedOut(isolate_)) { in VisitLocals()
668 value = isolate_->factory()->undefined_value(); in VisitLocals()
669 } else if (value->IsTheHole(isolate_)) { in VisitLocals()
681 value = handle(context_->get(index), isolate_); in VisitLocals()
683 if (value->IsTheHole(isolate_)) continue; in VisitLocals()
689 Handle<Module> module(context_->module(), isolate_); in VisitLocals()
690 value = Module::LoadVariable(isolate_, module, var->index()); in VisitLocals()
692 if (value->IsTheHole(isolate_)) continue; in VisitLocals()
707 return isolate_->factory()->NewJSObjectWithNullProto(); in WithContextExtension()
709 return handle(JSObject::cast(context_->extension_receiver()), isolate_); in WithContextExtension()
722 !non_locals_->Has(isolate_, isolate_->factory()->this_string())) { in VisitLocalScope()
723 if (visitor(isolate_->factory()->this_string(), in VisitLocalScope()
724 isolate_->factory()->undefined_value())) in VisitLocalScope()
735 ->IsOptimizedOut(isolate_))) { in VisitLocalScope()
739 if (visitor(isolate_->factory()->arguments_string(), arguments)) return; in VisitLocalScope()
744 Handle<ScopeInfo> scope_info(context_->scope_info(), isolate_); in VisitLocalScope()
754 Handle<JSObject> extension(context_->extension_object(), isolate_); in VisitLocalScope()
763 Handle<String> key(String::cast(keys->get(i)), isolate_); in VisitLocalScope()
775 if (String::Equals(isolate_, var->name(), variable_name)) { in SetLocalVariableValue()
782 *variable_name == ReadOnlyRoots(isolate_).arguments_string()); in SetLocalVariableValue()
791 generator_->parameters_and_registers(), isolate_); in SetLocalVariableValue()
811 generator_->parameters_and_registers(), isolate_); in SetLocalVariableValue()
830 Handle<Module> module(context_->module(), isolate_); in SetLocalVariableValue()
846 Handle<JSObject> ext(context_->extension_object(), isolate_); in SetContextExtensionValue()
847 LookupIterator it(isolate_, ext, variable_name, LookupIterator::OWN); in SetContextExtensionValue()
858 Handle<ScopeInfo> scope_info(context_->scope_info(), isolate_); in SetContextVariableValue()
886 Handle<Module> module(context_->module(), isolate_); in SetModuleVariableValue()
895 isolate_); in SetScriptVariableValue()
897 if (ScriptContextTable::Lookup(isolate_, script_contexts, variable_name, in SetScriptVariableValue()
900 isolate_, script_contexts, lookup_result.context_index); in SetScriptVariableValue()