| Index: runtime/vm/object.cc
|
| diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
|
| index 034c86ed52ca0f44b54c93fbf07154e4dcf83f3f..8b5c98a47d8a898a8a1b68c3609346e6f56e2eb5 100644
|
| --- a/runtime/vm/object.cc
|
| +++ b/runtime/vm/object.cc
|
| @@ -5389,6 +5389,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_));
|
| }
|
| @@ -5426,7 +5431,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);
|
| }
|
|
|
|
|
| @@ -6016,6 +6021,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);
|
| @@ -6550,7 +6556,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.
|
|
|