Index: src/arm/ic-arm.cc |
diff --git a/src/arm/ic-arm.cc b/src/arm/ic-arm.cc |
index 6bad5ac03e6394e6d61e539939fb14c28eb093cc..0bb4d4bf18db0f97a813f18b66458e1bf152d0af 100644 |
--- a/src/arm/ic-arm.cc |
+++ b/src/arm/ic-arm.cc |
@@ -146,7 +146,7 @@ static void GenerateDictionaryLoad(MacroAssembler* masm, |
StringDictionary::kElementsStartIndex * kPointerSize; |
const int kDetailsOffset = kElementsStartOffset + 2 * kPointerSize; |
__ ldr(scratch1, FieldMemOperand(scratch2, kDetailsOffset)); |
- __ tst(scratch1, Operand(PropertyDetails::TypeField::mask() << kSmiTagSize)); |
+ __ tst(scratch1, Operand(PropertyDetails::TypeField::kMask << kSmiTagSize)); |
__ b(ne, miss); |
// Get the value at the masked, scaled index and return. |
@@ -194,9 +194,9 @@ static void GenerateDictionaryStore(MacroAssembler* masm, |
const int kElementsStartOffset = StringDictionary::kHeaderSize + |
StringDictionary::kElementsStartIndex * kPointerSize; |
const int kDetailsOffset = kElementsStartOffset + 2 * kPointerSize; |
- const int kTypeAndReadOnlyMask |
- = (PropertyDetails::TypeField::mask() | |
- PropertyDetails::AttributesField::encode(READ_ONLY)) << kSmiTagSize; |
+ const int kTypeAndReadOnlyMask = |
+ (PropertyDetails::TypeField::kMask | |
+ PropertyDetails::AttributesField::encode(READ_ONLY)) << kSmiTagSize; |
__ ldr(scratch1, FieldMemOperand(scratch2, kDetailsOffset)); |
__ tst(scratch1, Operand(kTypeAndReadOnlyMask)); |
__ b(ne, miss); |