/third_party/node/deps/v8/src/objects/ |
D | property.cc | 52 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()
|
D | property-details.h | 95 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()
|
D | lookup.cc | 377 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()
|
D | scope-info.tq | 32 kConst,
|
D | map-updater.cc | 865 DCHECK_EQ(PropertyConstness::kConst, next_constness); in BuildDescriptorArray() 912 DCHECK_EQ(PropertyConstness::kConst, next_constness); in BuildDescriptorArray()
|
D | contexts.cc | 353 *variable_mode = VariableMode::kConst; in Lookup()
|
D | map.cc | 481 PropertyConstness::kConst, representation, flag); in CopyWithConstant() 556 case PropertyConstness::kConst: in GetFieldCounts() 1779 DCHECK_EQ(PropertyConstness::kConst, details.constness()); in CanHoldValue()
|
D | scope-info.cc | 541 VariableModeBits::encode(VariableMode::kConst) | in CreateForBootstrapping()
|
D | js-objects.cc | 3825 : PropertyConstness::kConst; in MigrateSlowToFast() 4768 details = details.CopyWithConstness(PropertyConstness::kConst); in OptimizeAsPrototype()
|
/third_party/node/deps/v8/src/ast/ |
D | variables.cc | 35 (mode() == VariableMode::kLet || mode() == VariableMode::kConst); in IsReplGlobal() 41 if (mode() == VariableMode::kLet || mode() == VariableMode::kConst) { in RewriteLocationForRepl()
|
D | variables.h | 92 if (mode() == VariableMode::kConst) return; in SetMaybeAssigned() 105 DCHECK_IMPLIES(local_if_not_shadowed()->mode() != VariableMode::kConst, in SetMaybeAssigned()
|
D | scopes.cc | 119 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/ |
D | compilation-dependencies.cc | 351 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()
|
D | access-info.cc | 493 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/ |
D | globals.h | 1234 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/ |
D | regexp-utils.cc | 153 .constness() != PropertyConstness::kConst) { in IsUnmodifiedRegExp()
|
/third_party/node/deps/v8/src/execution/ |
D | execution.cc | 223 (mode == VariableMode::kConst && in NewScriptContext() 224 lookup.mode == VariableMode::kConst)) && in NewScriptContext()
|
/third_party/node/deps/v8/src/parsing/ |
D | parser.cc | 1331 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()
|
D | preparser.h | 1213 VariableMode::kConst, scope, &was_added);
|
D | parser-base.h | 753 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/ |
D | ic.cc | 557 (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/ |
D | runtime-object.cc | 135 details.constness() == PropertyConstness::kConst) { in GeneralizeAllTransitionsToFieldAsMutable() 139 details.constness() == PropertyConstness::kConst); in GeneralizeAllTransitionsToFieldAsMutable() 447 PropertyConstness::kConst); in RUNTIME_FUNCTION()
|
D | runtime-classes.cc | 352 PropertyLocation::kField, PropertyConstness::kConst, in AddDescriptorsByTemplate()
|
/third_party/node/deps/v8/src/interpreter/ |
D | bytecode-generator.cc | 3682 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/ |
D | module-instantiate.cc | 133 PropertyConstness::kConst, in CreateArrayDescriptorArray()
|