Index: src/ia32/macro-assembler-ia32.h |
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
index 9cf79d57bf4c4de9138331e3fb374c2050690b9d..bfd86d067c0e4563261605f5808f9e975b09d522 100644 |
--- a/src/ia32/macro-assembler-ia32.h |
+++ b/src/ia32/macro-assembler-ia32.h |
@@ -149,14 +149,10 @@ class MacroAssembler: public Assembler { |
Label* on_black, |
Label::Distance on_black_distance = Label::kFar); |
- // 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, |
- Label* object_is_white_and_not_data, |
- Label::Distance distance); |
+ // Checks the color of an object. If the object is white we jump to the |
+ // incremental marker. |
+ void JumpIfWhite(Register value, Register scratch1, Register scratch2, |
+ Label* value_is_white, Label::Distance distance); |
// Notify the garbage collector that we wrote a pointer into an object. |
// |object| is the object being stored into, |value| is the object being |