Index: src/incremental-marking.h |
=================================================================== |
--- src/incremental-marking.h (revision 9808) |
+++ src/incremental-marking.h (working copy) |
@@ -127,6 +127,7 @@ |
inline void RecordWriteIntoCode(HeapObject* obj, |
RelocInfo* rinfo, |
Object* value); |
+ void RecordCodeTargetPatch(Code* host, Address pc, HeapObject* value); |
void RecordCodeTargetPatch(Address pc, HeapObject* value); |
void RecordWriteOfCodeEntry(JSFunction* host, Object** slot, Code* value); |
@@ -197,6 +198,14 @@ |
} |
} |
+ void EnterNoMarkingScope() { |
+ no_marking_scope_depth_++; |
+ } |
+ |
+ void LeaveNoMarkingScope() { |
+ no_marking_scope_depth_--; |
+ } |
+ |
private: |
void set_should_hurry(bool val) { |
should_hurry_ = val; |
@@ -248,6 +257,8 @@ |
int allocation_marking_factor_; |
intptr_t allocated_; |
+ int no_marking_scope_depth_; |
+ |
DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking); |
}; |