| Index: src/a64/lithium-codegen-a64.cc | 
| diff --git a/src/a64/lithium-codegen-a64.cc b/src/a64/lithium-codegen-a64.cc | 
| index ea826d6ffa53c6158675fcc3f6860dae6e75bceb..d92ca7ef006f3049d09bdf978ac44b69a8b7af48 100644 | 
| --- a/src/a64/lithium-codegen-a64.cc | 
| +++ b/src/a64/lithium-codegen-a64.cc | 
| @@ -675,7 +675,7 @@ bool LCodeGen::GeneratePrologue() { | 
| info_->is_classic_mode() && | 
| !info_->is_native()) { | 
| Label ok; | 
| -      int receiver_offset = info_->scope()->num_parameters() * kXRegSizeInBytes; | 
| +      int receiver_offset = info_->scope()->num_parameters() * kXRegSize; | 
| __ Peek(x10, receiver_offset); | 
| __ JumpIfNotRoot(x10, Heap::kUndefinedValueRootIndex, &ok); | 
|  | 
| @@ -2863,7 +2863,7 @@ void LCodeGen::DoGetCachedArrayIndex(LGetCachedArrayIndex* instr) { | 
| __ AssertString(input); | 
|  | 
| // Assert that we can use a W register load to get the hash. | 
| -  ASSERT((String::kHashShift + String::kArrayIndexValueBits) < kWRegSize); | 
| +  ASSERT((String::kHashShift + String::kArrayIndexValueBits) < kWRegSizeInBits); | 
| __ Ldr(result.W(), FieldMemOperand(input, String::kHashFieldOffset)); | 
| __ IndexFromHash(result, result); | 
| } | 
|  |