| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index 88ac91ce47deebf244879ec5963926c538408fd4..93610e1e72f482892077080f99eac9d0ea455a91 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -2352,8 +2352,8 @@ int DescriptorArray::GetFieldIndex(int descriptor_number) {
|
| }
|
|
|
|
|
| -JSFunction* DescriptorArray::GetConstantFunction(int descriptor_number) {
|
| - return JSFunction::cast(GetValue(descriptor_number));
|
| +Object* DescriptorArray::GetConstant(int descriptor_number) {
|
| + return GetValue(descriptor_number);
|
| }
|
|
|
|
|
| @@ -3648,7 +3648,7 @@ bool Map::CanBeDeprecated() {
|
| details.representation().IsHeapObject()) {
|
| return true;
|
| }
|
| - if (FLAG_track_fields && details.type() == CONSTANT_FUNCTION) {
|
| + if (FLAG_track_fields && details.type() == CONSTANT) {
|
| return true;
|
| }
|
| }
|
|
|