/external/v8/src/objects/ |
D | scope-info.cc | 27 bool ScopeInfo::Equals(ScopeInfo* other) const { in Equals() 44 if (!ScopeInfo::cast(entry)->Equals(ScopeInfo::cast(other_entry))) { in Equals() 61 Handle<ScopeInfo> ScopeInfo::Create(Isolate* isolate, Zone* zone, Scope* scope, in Create() 62 MaybeHandle<ScopeInfo> outer_scope) { in Create() 144 Handle<ScopeInfo> scope_info = factory->NewScopeInfo(length); in Create() 293 Handle<ScopeInfo> ScopeInfo::CreateForWithScope( in CreateForWithScope() 294 Isolate* isolate, MaybeHandle<ScopeInfo> outer_scope) { in CreateForWithScope() 299 Handle<ScopeInfo> scope_info = factory->NewScopeInfo(length); in CreateForWithScope() 334 Handle<ScopeInfo> ScopeInfo::CreateGlobalThisBinding(Isolate* isolate) { in CreateGlobalThisBinding() 352 Handle<ScopeInfo> scope_info = factory->NewScopeInfo(length); in CreateGlobalThisBinding() [all …]
|
D | scope-info.h | 33 class ScopeInfo : public FixedArray { 35 DECLARE_CAST(ScopeInfo) 144 static int ContextSlotIndex(Handle<ScopeInfo> scope_info, Handle<String> name, 187 ScopeInfo* OuterScopeInfo(); 190 bool Equals(ScopeInfo* other) const; 193 static Handle<ScopeInfo> Create(Isolate* isolate, Zone* zone, Scope* scope, 194 MaybeHandle<ScopeInfo> outer_scope); 195 static Handle<ScopeInfo> CreateForWithScope( 196 Isolate* isolate, MaybeHandle<ScopeInfo> outer_scope); 197 static Handle<ScopeInfo> CreateGlobalThisBinding(Isolate* isolate); [all …]
|
/external/v8/src/debug/ |
D | debug-scopes.h | 69 Handle<ScopeInfo> CurrentScopeInfo(); 85 ExtendedScopeInfo(Handle<ScopeInfo> info, int start, int end) in ExtendedScopeInfo() 87 explicit ExtendedScopeInfo(Handle<ScopeInfo> info) in ExtendedScopeInfo() 89 Handle<ScopeInfo> scope_info; 136 bool SetParameterValue(Handle<ScopeInfo> scope_info, JavaScriptFrame* frame, 139 bool SetStackVariableValue(Handle<ScopeInfo> scope_info, 142 bool SetContextVariableValue(Handle<ScopeInfo> scope_info, 147 void CopyContextLocalsToScopeObject(Handle<ScopeInfo> scope_info, 150 void CopyModuleVarsToScopeObject(Handle<ScopeInfo> scope_info,
|
D | debug-frames.cc | 112 Handle<ScopeInfo> scope_info) { in MaterializeStackLocals() 120 if (ScopeInfo::VariableIsSynthetic(*name)) continue; in MaterializeStackLocals() 135 if (ScopeInfo::VariableIsSynthetic(*name)) continue; in MaterializeStackLocals() 153 Handle<ScopeInfo> scope_info(shared->scope_info()); in MaterializeStackLocals() 159 Handle<JSObject> target, Handle<ScopeInfo> scope_info) { in UpdateStackLocalsFromMaterializedObject() 169 if (ScopeInfo::VariableIsSynthetic(*name)) continue; in UpdateStackLocalsFromMaterializedObject() 181 if (ScopeInfo::VariableIsSynthetic(*name)) continue; in UpdateStackLocalsFromMaterializedObject() 192 Handle<ScopeInfo> info, Handle<String> parameter_name) { in ParameterIsShadowedByContextLocal() 196 return ScopeInfo::ContextSlotIndex(info, parameter_name, &mode, &init_flag, in ParameterIsShadowedByContextLocal()
|
D | debug-scopes.cc | 41 Handle<ScopeInfo> scope_info(shared_info->scope_info()); in ScopeIterator() 252 Handle<ScopeInfo> scope_info = nested_scope_chain_.last().scope_info; in Type() 372 Handle<ScopeInfo> ScopeIterator::CurrentScopeInfo() { in CurrentScopeInfo() 378 return Handle<ScopeInfo>(context_->scope_info()); in CurrentScopeInfo() 380 return Handle<ScopeInfo>::null(); in CurrentScopeInfo() 487 Handle<ScopeInfo> scope_info(context->scope_info()); in MaterializeScriptScope() 506 Handle<ScopeInfo> scope_info(shared->scope_info()); in MaterializeLocalScope() 533 Handle<ScopeInfo> scope_info(shared->scope_info()); in MaterializeClosure() 587 Handle<ScopeInfo> scope_info = nested_scope_chain_.last().scope_info; in MaterializeInnerScope() 609 Handle<ScopeInfo> scope_info(context->scope_info()); in MaterializeModuleScope() [all …]
|
D | debug-frames.h | 48 Handle<ScopeInfo> scope_info); 54 Handle<ScopeInfo> scope_info); 57 bool ParameterIsShadowedByContextLocal(Handle<ScopeInfo> info,
|
D | debug-evaluate.cc | 200 Handle<ScopeInfo> scope_info(ScopeInfo::CreateForWithScope( in ContextBuilder() 202 ? Handle<ScopeInfo>::null() in ContextBuilder() 203 : Handle<ScopeInfo>(evaluation_context_->scope_info()))); in ContextBuilder()
|
D | debug-evaluate.h | 62 Handle<ScopeInfo> scope_info;
|
/external/v8/src/ast/ |
D | scopes.h | 129 ScopeInfo* scope_info, in NON_EXPORTED_BASE() 414 Handle<ScopeInfo> scope_info() const { in NON_EXPORTED_BASE() 511 Handle<ScopeInfo> scope_info_; in NON_EXPORTED_BASE() 589 MaybeHandle<ScopeInfo> outer_scope); in NON_EXPORTED_BASE() 591 MaybeHandle<ScopeInfo> outer_scope); in NON_EXPORTED_BASE() 596 Scope(Zone* zone, ScopeType type, Handle<ScopeInfo> scope_info); in NON_EXPORTED_BASE() 600 Handle<ScopeInfo> scope_info); in NON_EXPORTED_BASE() 619 Handle<ScopeInfo> scope_info); 660 void SetScriptScopeInfo(Handle<ScopeInfo> scope_info) { in SetScriptScopeInfo() 953 ModuleScope(Isolate* isolate, Handle<ScopeInfo> scope_info,
|
D | scopes.cc | 196 ModuleScope::ModuleScope(Isolate* isolate, Handle<ScopeInfo> scope_info, in ModuleScope() 242 Scope::Scope(Zone* zone, ScopeType scope_type, Handle<ScopeInfo> scope_info) in Scope() 260 Handle<ScopeInfo> scope_info) in DeclarationScope() 270 Handle<ScopeInfo> scope_info) in Scope() 373 ScopeInfo* scope_info, in DeserializeScopeChain() 429 outer_scope->scope_info_ = Handle<ScopeInfo>::null(); in DeserializeScopeChain() 591 Handle<ScopeInfo> outer_scope_info; in Analyze() 631 handle(ScopeInfo::Empty(info->isolate())); in Analyze() 902 index = ScopeInfo::ContextSlotIndex(scope_info_, name_handle, &mode, in LookupInScopeInfo() 1275 MaybeHandle<ScopeInfo> outer_scope; in AllocateVariables() [all …]
|
/external/v8/src/parsing/ |
D | parse-info.h | 197 MaybeHandle<ScopeInfo> maybe_outer_scope_info() const { in maybe_outer_scope_info() 203 void set_outer_scope_info(Handle<ScopeInfo> outer_scope_info) { in set_outer_scope_info() 224 Handle<ScopeInfo> outer_scope_info; in ReopenHandlesInNewHandleScope() 226 maybe_outer_scope_info_ = Handle<ScopeInfo>(*outer_scope_info); in ReopenHandlesInNewHandleScope() 278 MaybeHandle<ScopeInfo> maybe_outer_scope_info_;
|
D | parse-info.cc | 70 Handle<ScopeInfo>::cast(scope_info)->length() > 0) { in ParseInfo() 71 set_outer_scope_info(Handle<ScopeInfo>::cast(scope_info)); in ParseInfo() 138 Handle<ScopeInfo>::cast(scope_info)->length() > 0) { in AllocateWithoutScript() 139 p->set_outer_scope_info(Handle<ScopeInfo>::cast(scope_info)); in AllocateWithoutScript()
|
/external/clang/lib/Sema/ |
D | SemaCoroutine.cpp | 131 auto *ScopeInfo = S.getCurFunction(); in checkCoroutineContext() local 132 assert(ScopeInfo && "missing function scope for function"); in checkCoroutineContext() 135 if (!ScopeInfo->CoroutinePromise) { in checkCoroutineContext() 145 ScopeInfo->CoroutinePromise = in checkCoroutineContext() 149 S.CheckVariableDeclarationType(ScopeInfo->CoroutinePromise); in checkCoroutineContext() 150 if (!ScopeInfo->CoroutinePromise->isInvalidDecl()) in checkCoroutineContext() 151 S.ActOnUninitializedDecl(ScopeInfo->CoroutinePromise, false); in checkCoroutineContext() 154 return ScopeInfo; in checkCoroutineContext()
|
D | CMakeLists.txt | 19 ScopeInfo.cpp
|
/external/v8/src/compiler/ |
D | operator.h | 247 struct OpEqualTo<Handle<ScopeInfo>> : public Handle<ScopeInfo>::equal_to {}; 249 struct OpHash<Handle<ScopeInfo>> : public Handle<ScopeInfo>::hash {};
|
D | js-operator.h | 283 Handle<ScopeInfo> scope_info); 286 Handle<ScopeInfo> scope_info() const { return scope_info_; } in scope_info() 290 Handle<ScopeInfo> const scope_info_; 706 const Handle<ScopeInfo>& scope_info); in NON_EXPORTED_BASE() 707 const Operator* CreateWithContext(const Handle<ScopeInfo>& scope_info); in NON_EXPORTED_BASE() 708 const Operator* CreateBlockContext(const Handle<ScopeInfo>& scpope_info); in NON_EXPORTED_BASE() 710 const Operator* CreateScriptContext(const Handle<ScopeInfo>& scpope_info); in NON_EXPORTED_BASE()
|
D | js-operator.cc | 215 Handle<String> catch_name, Handle<ScopeInfo> scope_info) in CreateCatchContextParameters() 1048 const Handle<String>& name, const Handle<ScopeInfo>& scope_info) { in CreateCatchContext() 1058 const Handle<ScopeInfo>& scope_info) { in CreateWithContext() 1059 return new (zone()) Operator1<Handle<ScopeInfo>>( in CreateWithContext() 1067 const Handle<ScopeInfo>& scope_info) { in CreateBlockContext() 1068 return new (zone()) Operator1<Handle<ScopeInfo>>( // -- in CreateBlockContext() 1076 const Handle<ScopeInfo>& scope_info) { in CreateScriptContext() 1077 return new (zone()) Operator1<Handle<ScopeInfo>>( // -- in CreateScriptContext()
|
D | js-generic-lowering.cc | 493 Handle<ScopeInfo> scope_info = OpParameter<Handle<ScopeInfo>>(node); in LowerJSCreateWithContext() 499 Handle<ScopeInfo> scope_info = OpParameter<Handle<ScopeInfo>>(node); in LowerJSCreateBlockContext() 506 Handle<ScopeInfo> scope_info = OpParameter<Handle<ScopeInfo>>(node); in LowerJSCreateScriptContext()
|
/external/v8/src/compiler-dispatcher/ |
D | compiler-dispatcher-job.cc | 227 MaybeHandle<ScopeInfo> outer_scope_info; in PrepareToParseOnMainThread() 229 ScopeInfo::cast(shared_->outer_scope_info())->length() > 0) { in PrepareToParseOnMainThread() 230 outer_scope_info = handle(ScopeInfo::cast(shared_->outer_scope_info())); in PrepareToParseOnMainThread() 300 ScopeInfo::cast(shared_->outer_scope_info())->length() > 0) { in FinalizeParsingOnMainThread() 301 Handle<ScopeInfo> outer_scope_info( in FinalizeParsingOnMainThread() 302 handle(ScopeInfo::cast(shared_->outer_scope_info()))); in FinalizeParsingOnMainThread()
|
/external/v8/src/ |
D | contexts.cc | 44 Handle<ScopeInfo> scope_info(context->scope_info()); in Lookup() 45 int slot_index = ScopeInfo::ContextSlotIndex( in Lookup() 70 ScopeInfo::cast(ext)->is_declaration_scope(); in is_declaration_context() 115 ScopeInfo* Context::scope_info() { in scope_info() 126 return ScopeInfo::cast(object); in scope_info() 275 if (ScopeInfo::VariableIsSynthetic(*name)) { in Lookup() 311 Handle<ScopeInfo> scope_info(context->scope_info()); in Lookup() 315 int slot_index = ScopeInfo::ContextSlotIndex(scope_info, name, &mode, in Lookup()
|
D | factory.h | 91 Handle<ContextExtension> NewContextExtension(Handle<ScopeInfo> scope_info, 293 Handle<ScopeInfo> scope_info); 301 Handle<ScopeInfo> scope_info); 310 Handle<ScopeInfo> scope_info, 317 Handle<ScopeInfo> scope_info, 321 Handle<ScopeInfo> scope_info, 329 Handle<ScopeInfo> scope_info); 630 Handle<ScopeInfo> NewScopeInfo(int length); 739 Handle<ScopeInfo> scope_info);
|
D | background-parsing-task.cc | 47 MaybeHandle<ScopeInfo>()); in BackgroundParsingTask()
|
D | factory.cc | 120 Handle<ScopeInfo> scope_info, Handle<Object> extension) { in NewContextExtension() 925 Handle<ScopeInfo> scope_info) { in NewScriptContext() 951 Handle<ScopeInfo> scope_info) { in NewModuleContext() 993 Handle<ScopeInfo> scope_info, in NewCatchContext() 1010 Handle<ScopeInfo> scope_info, in NewDebugEvaluateContext() 1033 Handle<ScopeInfo> scope_info, in NewWithContext() 1050 Handle<ScopeInfo> scope_info) { in NewBlockContext() 1617 Handle<ScopeInfo> Factory::NewScopeInfo(int length) { in NewScopeInfo() 1620 Handle<ScopeInfo> scope_info = Handle<ScopeInfo>::cast(array); in NewScopeInfo() 2360 Handle<ScopeInfo> scope_info) { in NewSharedFunctionInfo() [all …]
|
/external/v8/src/runtime/ |
D | runtime-scopes.cc | 450 Handle<ScopeInfo> scope_info(callee->shared()->scope_info()); in NewSloppyArguments() 666 static Object* FindNameClash(Handle<ScopeInfo> scope_info, in FindNameClash() 711 CONVERT_ARG_HANDLE_CHECKED(ScopeInfo, scope_info, 1); in RUNTIME_FUNCTION() 756 CONVERT_ARG_HANDLE_CHECKED(ScopeInfo, scope_info, 1); in RUNTIME_FUNCTION() 770 CONVERT_ARG_HANDLE_CHECKED(ScopeInfo, scope_info, 2); in RUNTIME_FUNCTION() 784 CONVERT_ARG_HANDLE_CHECKED(ScopeInfo, scope_info, 2); in RUNTIME_FUNCTION() 797 CONVERT_ARG_HANDLE_CHECKED(ScopeInfo, scope_info, 0); in RUNTIME_FUNCTION()
|
D | runtime-debug.cc | 577 Handle<ScopeInfo> scope_info(shared->scope_info()); in RUNTIME_FUNCTION() 578 DCHECK(*scope_info != ScopeInfo::Empty(isolate)); in RUNTIME_FUNCTION() 589 if (ScopeInfo::VariableIsSynthetic(scope_info->LocalName(slot))) { in RUNTIME_FUNCTION() 599 if (ScopeInfo::VariableIsSynthetic(scope_info->LocalName(i))) continue; in RUNTIME_FUNCTION() 617 if (ScopeInfo::VariableIsSynthetic(*name)) continue; in RUNTIME_FUNCTION() 622 int context_slot_index = ScopeInfo::ContextSlotIndex( in RUNTIME_FUNCTION()
|