Chromium Code Reviews| Index: src/arm64/macro-assembler-arm64.h |
| diff --git a/src/arm64/macro-assembler-arm64.h b/src/arm64/macro-assembler-arm64.h |
| index 8a40142c40e90555a201bb85042c69e5600b3a52..27772665d028196337a70a1cf51f6a6bd2b56fcb 100644 |
| --- a/src/arm64/macro-assembler-arm64.h |
| +++ b/src/arm64/macro-assembler-arm64.h |
| @@ -1799,23 +1799,11 @@ class MacroAssembler : public Assembler { |
| PointersToHereCheck pointers_to_here_check_for_value = |
| kPointersToHereMaybeInteresting); |
| - // Checks the color of an object. If the object is already grey or black |
| - // then we just fall through, since it is already live. If it is white and |
| - // we can determine that it doesn't need to be scanned, then we just mark it |
| - // black and fall through. For the rest we jump to the label so the |
| - // incremental marker can fix its assumptions. |
| - void EnsureNotWhite(Register object, |
| - Register scratch1, |
| - Register scratch2, |
| - Register scratch3, |
| - Register scratch4, |
| - Label* object_is_white_and_not_data); |
| - |
| - // Detects conservatively whether an object is data-only, i.e. it does need to |
| - // be scanned by the garbage collector. |
| - void JumpIfDataObject(Register value, |
| - Register scratch, |
| - Label* not_data_object); |
| + // Checks the color of an object. If the object is white we jump to the |
| + // incremental marker. |
| + void CheckIfWhite(Register object, Register scratch1, Register scratch2, |
| + Register scratch3, Register scratch4, |
| + Label* object_is_white); |
|
ulan
2015/12/23 11:02:20
should be value_is_white for consistency with .cc
Hannes Payer (out of office)
2015/12/23 12:14:05
Done.
|
| // Helper for finding the mark bits for an address. |
| // Note that the behaviour slightly differs from other architectures. |