Home
last modified time | relevance | path

Searched refs:kConst (Results 1 – 25 of 29) sorted by relevance

12

/third_party/node/deps/v8/src/objects/
Dproperty.cc52 case PropertyConstness::kConst: in operator <<()
103 PropertyConstness::kConst, in DataConstant()
111 return DataField(key, field_index, attributes, PropertyConstness::kConst, in DataConstant()
120 PropertyConstness::kConst, Representation::Tagged(), 0); in AccessorConstant()
126 if (constness() == PropertyConstness::kConst) os << "const "; in PrintAsSlowTo()
137 if (constness() == PropertyConstness::kConst) os << "const "; in PrintAsFastTo()
Dproperty-details.h95 enum class PropertyConstness { kMutable = 0, kConst = 1 }; enumerator
439 V8_DICT_PROPERTY_CONST_TRACKING_BOOL ? PropertyConstness::kConst
522 return b == PropertyConstness::kMutable || a == PropertyConstness::kConst; in IsGeneralizableTo()
Dlookup.cc377 PropertyConstness new_constness = PropertyConstness::kConst; in PrepareForDataProperty()
378 if (constness() == PropertyConstness::kConst) { in PrepareForDataProperty()
609 PropertyConstness::kConst, store_origin); in PrepareTransitionToDataProperty()
947 DCHECK_EQ(PropertyConstness::kConst, property_details_.constness()); in IsConstFieldValueEqualTo()
988 DCHECK_EQ(PropertyConstness::kConst, property_details_.constness()); in IsConstDictValueEqualTo()
1093 PropertyConstness::kConst, in WriteDataValue()
1099 DCHECK_EQ(PropertyConstness::kConst, property_details_.constness()); in WriteDataValue()
1117 property_details_.constness() == PropertyConstness::kConst, in WriteDataValue()
Dscope-info.tq32 kConst,
Dmap-updater.cc865 DCHECK_EQ(PropertyConstness::kConst, next_constness); in BuildDescriptorArray()
912 DCHECK_EQ(PropertyConstness::kConst, next_constness); in BuildDescriptorArray()
Dcontexts.cc353 *variable_mode = VariableMode::kConst; in Lookup()
Dmap.cc481 PropertyConstness::kConst, representation, flag); in CopyWithConstant()
556 case PropertyConstness::kConst: in GetFieldCounts()
1779 DCHECK_EQ(PropertyConstness::kConst, details.constness()); in CanHoldValue()
Dscope-info.cc541 VariableModeBits::encode(VariableMode::kConst) | in CreateForBootstrapping()
Djs-objects.cc3825 : PropertyConstness::kConst; in MigrateSlowToFast()
4768 details = details.CopyWithConstness(PropertyConstness::kConst); in OptimizeAsPrototype()
/third_party/node/deps/v8/src/ast/
Dvariables.cc35 (mode() == VariableMode::kLet || mode() == VariableMode::kConst); in IsReplGlobal()
41 if (mode() == VariableMode::kLet || mode() == VariableMode::kConst) { in RewriteLocationForRepl()
Dvariables.h92 if (mode() == VariableMode::kConst) return; in SetMaybeAssigned()
105 DCHECK_IMPLIES(local_if_not_shadowed()->mode() != VariableMode::kConst, in SetMaybeAssigned()
Dscopes.cc119 zone(), ast_value_factory->dot_home_object_string(), VariableMode::kConst, in DeclareHomeObjectVariable()
133 VariableMode::kConst, NORMAL_VARIABLE, in DeclareStaticHomeObjectVariable()
213 DCHECK_EQ(scope_info->ContextLocalMode(index), VariableMode::kConst); in ClassScope()
739 derived_constructor ? VariableMode::kConst : VariableMode::kVar, in DeclareThis()
786 VariableMode::kConst, NORMAL_VARIABLE, in DeclareDefaultFunctionVariables()
793 zone(), ast_value_factory->this_function_string(), VariableMode::kConst, in DeclareDefaultFunctionVariables()
808 function_ = zone()->New<Variable>(this, name, VariableMode::kConst, kind, in DeclareFunctionVar()
990 DCHECK_EQ(VariableMode::kConst, var->mode()); in LookupInScopeInfo()
1065 mode == VariableMode::kConst); in DeclareLocal()
1078 if (mode != VariableMode::kConst) var->SetMaybeAssigned(); in DeclareLocal()
[all …]
/third_party/node/deps/v8/src/compiler/
Dcompilation-dependencies.cc351 if (details.constness() != PropertyConstness::kConst) { in GetHolderIfValid()
761 return PropertyConstness::kConst == in IsValid()
774 CHECK_EQ(PropertyConstness::kConst, owner->instance_descriptors(isolate) in Install()
1085 DCHECK_EQ(constness, PropertyConstness::kConst); in DependOnFieldConstness()
1087 return PropertyConstness::kConst; in DependOnFieldConstness()
Daccess-info.cc493 constness = PropertyConstness::kConst; in ComputeDataFieldAccessInfo()
510 case PropertyConstness::kConst: in ComputeDataFieldAccessInfo()
650 if (details.constness() != PropertyConstness::kConst) { in ComputeDictionaryProtoAccessInfo()
1171 case PropertyConstness::kConst: in LookupTransition()
/third_party/node/deps/v8/src/common/
Dglobals.h1234 kConst, // declared via 'const' declarations (last lexical) enumerator
1273 kLastLexicalVariableMode = kConst,
1292 case VariableMode::kConst: in VariableMode2String()
1336 return mode == VariableMode::kConst || in IsConstVariableMode()
/third_party/node/deps/v8/src/regexp/
Dregexp-utils.cc153 .constness() != PropertyConstness::kConst) { in IsUnmodifiedRegExp()
/third_party/node/deps/v8/src/execution/
Dexecution.cc223 (mode == VariableMode::kConst && in NewScriptContext()
224 lookup.mode == VariableMode::kConst)) && in NewScriptContext()
/third_party/node/deps/v8/src/parsing/
Dparser.cc1331 DeclareUnboundVariable(local_name, VariableMode::kConst, in ParseNamedImports()
1456 DeclareUnboundVariable(import_default_binding, VariableMode::kConst, in ParseImportDeclaration()
1471 DeclareUnboundVariable(module_namespace_binding, VariableMode::kConst, in ParseImportDeclaration()
1570 DeclareBoundVariable(local_name, VariableMode::kConst, pos); in ParseExportDefault()
1634 DeclareUnboundVariable(local_name, VariableMode::kConst, kCreatedInitialized, in ParseExportStar()
3134 DeclareBoundVariable(name, VariableMode::kConst, kNoSourcePosition); in CreateSyntheticContextVariable()
Dpreparser.h1213 VariableMode::kConst, scope, &was_added);
Dparser-base.h753 return VariableMode::kConst; in GetVariableMode()
3976 parsing_result->descriptor.mode = VariableMode::kConst; in ParseVariableDeclarations()
4083 if (parsing_result->descriptor.mode == VariableMode::kConst || in ParseVariableDeclarations()
/third_party/node/deps/v8/src/ic/
Dic.cc557 (lookup_result.mode == VariableMode::kConst && in Load()
1175 if (lookup->constness() == PropertyConstness::kConst && in ComputeHandler()
1700 if (lookup_result.mode == VariableMode::kConst) { in Store()
1721 lookup_result.mode == VariableMode::kConst)) { in Store()
2156 if (constness == PropertyConstness::kConst && in ComputeHandler()
2971 if (lookup_result.mode == VariableMode::kConst) { in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/runtime/
Druntime-object.cc135 details.constness() == PropertyConstness::kConst) { in GeneralizeAllTransitionsToFieldAsMutable()
139 details.constness() == PropertyConstness::kConst); in GeneralizeAllTransitionsToFieldAsMutable()
447 PropertyConstness::kConst); in RUNTIME_FUNCTION()
Druntime-classes.cc352 PropertyLocation::kField, PropertyConstness::kConst, in AddDescriptorsByTemplate()
/third_party/node/deps/v8/src/interpreter/
Dbytecode-generator.cc3682 DCHECK(variable->mode() == VariableMode::kConst); in BuildThrowIfHole()
3692 if (variable->is_this() && variable->mode() == VariableMode::kConst && in BuildHoleCheckForVariableAssignment()
3737 if (mode != VariableMode::kConst || op == Token::INIT) { in BuildVariableAssignment()
3772 if (mode != VariableMode::kConst || op == Token::INIT) { in BuildVariableAssignment()
3787 if (mode == VariableMode::kConst && op != Token::INIT) { in BuildVariableAssignment()
3831 if (mode == VariableMode::kConst) { in BuildVariableAssignment()
/third_party/node/deps/v8/src/wasm/
Dmodule-instantiate.cc133 PropertyConstness::kConst, in CreateArrayDescriptorArray()

12