Chromium Code Reviews| Index: src/x64/macro-assembler-x64.cc |
| diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
| index b3336e6eabbce0f7b9d49033035e622b2150cc37..6167b34a509784f1696301e95b0276a75923baf9 100644 |
| --- a/src/x64/macro-assembler-x64.cc |
| +++ b/src/x64/macro-assembler-x64.cc |
| @@ -4921,8 +4921,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) { |
|
Jakob Kummerow
2013/10/15 13:56:27
nit: s/ */* /
mvstanton
2013/10/15 15:04:16
Done.
|
| ExternalReference new_space_start = |
| ExternalReference::new_space_start(isolate()); |
| ExternalReference new_space_allocation_top = |
| @@ -4932,12 +4932,11 @@ void MacroAssembler::TestJSArrayForAllocationMemento( |
| JSArray::kSize + AllocationMemento::kSize - kHeapObjectTag)); |
| movq(kScratchRegister, new_space_start); |
| cmpq(scratch_reg, kScratchRegister); |
| - j(less, &no_memento_available); |
| + j(less, no_memento_found); |
| cmpq(scratch_reg, ExternalOperand(new_space_allocation_top)); |
| - j(greater, &no_memento_available); |
| + j(greater, no_memento_found); |
| CompareRoot(MemOperand(scratch_reg, -AllocationMemento::kSize), |
| Heap::kAllocationMementoMapRootIndex); |
| - bind(&no_memento_available); |
| } |