Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index 25060ea823b20fe7a40ba84f0b0ab165df7926a7..7ca61d254f96cb0180527627fc873d8307b0c398 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -3858,8 +3858,8 @@ void MacroAssembler::CheckEnumCache(Register null_value, Label* call_runtime) { |
void MacroAssembler::TestJSArrayForAllocationMemento( |
Register receiver_reg, |
- Register scratch_reg) { |
- Label no_memento_available; |
+ Register scratch_reg, |
+ Label* no_memento_found) { |
ExternalReference new_space_start = |
ExternalReference::new_space_start(isolate()); |
ExternalReference new_space_allocation_top = |
@@ -3867,15 +3867,14 @@ void MacroAssembler::TestJSArrayForAllocationMemento( |
add(scratch_reg, receiver_reg, |
Operand(JSArray::kSize + AllocationMemento::kSize - kHeapObjectTag)); |
cmp(scratch_reg, Operand(new_space_start)); |
- b(lt, &no_memento_available); |
+ b(lt, no_memento_found); |
mov(ip, Operand(new_space_allocation_top)); |
ldr(ip, MemOperand(ip)); |
cmp(scratch_reg, ip); |
- b(gt, &no_memento_available); |
+ b(gt, no_memento_found); |
ldr(scratch_reg, MemOperand(scratch_reg, -AllocationMemento::kSize)); |
cmp(scratch_reg, |
Operand(isolate()->factory()->allocation_memento_map())); |
- bind(&no_memento_available); |
} |