| Index: runtime/vm/object.cc
|
| diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
|
| index 821f6c20f96bd2a2071ca72ac69b68b0f2e4d62b..8aac76a690b22ddd5cfd6ab0222d64374ae9ae05 100644
|
| --- a/runtime/vm/object.cc
|
| +++ b/runtime/vm/object.cc
|
| @@ -5385,6 +5385,11 @@ void Function::set_kind(RawFunction::Kind value) const {
|
| }
|
|
|
|
|
| +void Function::set_modifier(RawFunction::Modifier value) const {
|
| + set_kind_tag(ModifierBits::update(value, raw_ptr()->kind_tag_));
|
| +}
|
| +
|
| +
|
| void Function::set_is_intrinsic(bool value) const {
|
| set_kind_tag(IntrinsicBit::update(value, raw_ptr()->kind_tag_));
|
| }
|
| @@ -5422,7 +5427,7 @@ void Function::set_token_pos(intptr_t value) const {
|
|
|
|
|
| void Function::set_kind_tag(intptr_t value) const {
|
| - raw_ptr()->kind_tag_ = static_cast<uint16_t>(value);
|
| + raw_ptr()->kind_tag_ = static_cast<uint32_t>(value);
|
| }
|
|
|
|
|
| @@ -6012,6 +6017,7 @@ RawFunction* Function::New(const String& name,
|
| result.set_parameter_names(Object::empty_array());
|
| result.set_name(name);
|
| result.set_kind(kind);
|
| + result.set_modifier(RawFunction::kNoModifier);
|
| result.set_is_static(is_static);
|
| result.set_is_const(is_const);
|
| result.set_is_abstract(is_abstract);
|
| @@ -6518,7 +6524,7 @@ void Function::ClearICData() const {
|
|
|
| bool Function::CheckSourceFingerprint(int32_t fp) const {
|
| if (SourceFingerprint() != fp) {
|
| - const bool recalculatingFingerprints = false;
|
| + const bool recalculatingFingerprints = true;
|
| if (recalculatingFingerprints) {
|
| // This output can be copied into a file, then used with sed
|
| // to replace the old values.
|
|
|