Index: src/arm/macro-assembler-arm.h |
=================================================================== |
--- src/arm/macro-assembler-arm.h (revision 9343) |
+++ src/arm/macro-assembler-arm.h (working copy) |
@@ -181,7 +181,8 @@ |
// Record in the remembered set the fact that we have a pointer to new space |
// at the address pointed to by the addr register. Only works if addr is not |
// in new space. |
- void RememberedSetHelper(Register addr, |
+ void RememberedSetHelper(Register object, // Used for debug code. |
+ Register addr, |
Register scratch, |
SaveFPRegsMode save_fp, |
RememberedSetFinalAction and_then); |
@@ -193,7 +194,7 @@ |
Label* condition_met); |
// Check if object is in new space. Jumps if the object is not in new space. |
- // The register scratch can be object itself, but it will be clobbered. |
+ // The register scratch can be object itself, but scratch will be clobbered. |
void JumpIfNotInNewSpace(Register object, |
Register scratch, |
Label* branch) { |