| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 3873cff53789baa69d319039b26576b0db877b5a..0fcf13ff77de7ace052790d96bba962383c7b315 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -3337,8 +3337,8 @@ const char* Representation::Mnemonic() const {
|
| }
|
|
|
| bool Map::TransitionRemovesTaggedField(Map* target) {
|
| - int inobject = GetInObjectProperties();
|
| - int target_inobject = target->GetInObjectProperties();
|
| + int inobject = NumberOfFields();
|
| + int target_inobject = target->NumberOfFields();
|
| for (int i = target_inobject; i < inobject; i++) {
|
| FieldIndex index = FieldIndex::ForPropertyIndex(this, i);
|
| if (!IsUnboxedDoubleField(index)) return true;
|
| @@ -3347,8 +3347,8 @@ bool Map::TransitionRemovesTaggedField(Map* target) {
|
| }
|
|
|
| bool Map::TransitionChangesTaggedFieldToUntaggedField(Map* target) {
|
| - int inobject = GetInObjectProperties();
|
| - int target_inobject = target->GetInObjectProperties();
|
| + int inobject = NumberOfFields();
|
| + int target_inobject = target->NumberOfFields();
|
| int limit = Min(inobject, target_inobject);
|
| for (int i = 0; i < limit; i++) {
|
| FieldIndex index = FieldIndex::ForPropertyIndex(target, i);
|
|
|