| Index: src/ia32/macro-assembler-ia32.h
|
| ===================================================================
|
| --- src/ia32/macro-assembler-ia32.h (revision 8207)
|
| +++ src/ia32/macro-assembler-ia32.h (working copy)
|
| @@ -54,7 +54,7 @@
|
| enum SmiCheck { INLINE_SMI_CHECK, OMIT_SMI_CHECK };
|
|
|
|
|
| -bool Aliasing(Register r1, Register r2, Register r3, Register r4);
|
| +bool AreAliased(Register r1, Register r2, Register r3, Register r4);
|
|
|
|
|
| // MacroAssembler implements a collection of frequently used macros.
|
| @@ -78,9 +78,9 @@
|
| kFallThroughAtEnd
|
| };
|
|
|
| - // For page containing |object| mark region covering |addr| dirty.
|
| - // RememberedSetHelper only works if the object is not in new
|
| - // space.
|
| + // 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,
|
| Register scratch,
|
| SaveFPRegsMode save_fp,
|
| @@ -138,10 +138,9 @@
|
|
|
| // Notify the garbage collector that we wrote a pointer into an object.
|
| // |object| is the object being stored into, |value| is the object being
|
| - // stored. All registers are clobbered by the operation. RecordWriteField
|
| - // filters out smis so it does not update the write barrier if the value is a
|
| - // smi. The offset is the offset from the start of the object, not the offset
|
| - // from the tagged HeapObject pointer. For use with FieldOperand(reg, off).
|
| + // stored. value and scratch registers are clobbered by the operation.
|
| + // The offset is the offset from the start of the object, not the offset from
|
| + // the tagged HeapObject pointer. For use with FieldOperand(reg, off).
|
| void RecordWriteField(
|
| Register object,
|
| int offset,
|
| @@ -381,9 +380,11 @@
|
| }
|
|
|
| // Jump the register contains a smi.
|
| - inline void JumpIfSmi(Register value, Label* smi_label) {
|
| + inline void JumpIfSmi(Register value,
|
| + Label* smi_label,
|
| + Label::Distance distance = Label::kFar) {
|
| test(value, Immediate(kSmiTagMask));
|
| - j(zero, smi_label);
|
| + j(zero, smi_label, distance);
|
| }
|
| // Jump if register contain a non-smi.
|
| inline void JumpIfNotSmi(Register value, Label* not_smi_label) {
|
|
|