Index: src/ia32/macro-assembler-ia32.h |
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
index f6d28a5008a8f419e8f8945d574fe0bb312bfc24..00243d76fdf07c1c909a2060cfa3dd9f4198d02c 100644 |
--- a/src/ia32/macro-assembler-ia32.h |
+++ b/src/ia32/macro-assembler-ia32.h |
@@ -48,6 +48,18 @@ class MacroAssembler: public Assembler { |
// --------------------------------------------------------------------------- |
// GC Support |
+ |
+ void RecordWriteHelper(Register object, |
+ Register addr, |
+ Register scratch); |
+ |
+ // Check if object is in new space. |
+ // scratch can be object itself, but it will be clobbered. |
+ void InNewSpace(Register object, |
+ Register scratch, |
+ Condition cc, // equal for new space, not_equal otherwise. |
+ Label* branch); |
+ |
// Set the remembered set bit for [object+offset]. |
// object is the object being stored into, value is the object being stored. |
// If offset is zero, then the scratch register contains the array index into |