| Index: src/a64/ic-a64.cc
|
| diff --git a/src/a64/ic-a64.cc b/src/a64/ic-a64.cc
|
| index 81d45c7eb722420ac15cd11c537a1dd9e98131e2..0488709cbfb8ccd88b9d93dd24a347e939bb0cf3 100644
|
| --- a/src/a64/ic-a64.cc
|
| +++ b/src/a64/ic-a64.cc
|
| @@ -331,9 +331,8 @@ static void GenerateKeyNameCheck(MacroAssembler* masm,
|
| // Is the string internalized? We know it's a string, so a single bit test is
|
| // enough.
|
| __ Ldrb(hash_scratch, FieldMemOperand(map_scratch, Map::kInstanceTypeOffset));
|
| - STATIC_ASSERT(kInternalizedTag != 0);
|
| - __ TestAndBranchIfAllClear(hash_scratch, kIsInternalizedMask,
|
| - not_unique);
|
| + STATIC_ASSERT(kInternalizedTag == 0);
|
| + __ TestAndBranchIfAnySet(hash_scratch, kIsNotInternalizedMask, not_unique);
|
|
|
| __ Bind(&unique);
|
| // Fall through if the key is a unique name.
|
|
|