| Index: src/v8globals.h
|
| diff --git a/src/v8globals.h b/src/v8globals.h
|
| index 2a01dfd1b6f7a3df93d3221ffed4ac2b8b5e103d..9101217ce579b6e8151849c33bc5cadc34532102 100644
|
| --- a/src/v8globals.h
|
| +++ b/src/v8globals.h
|
| @@ -185,6 +185,8 @@ class Mutex;
|
|
|
| typedef bool (*WeakSlotCallback)(Object** pointer);
|
|
|
| +typedef bool (*WeakSlotCallbackWithHeap)(Heap* heap, Object** pointer);
|
| +
|
| // -----------------------------------------------------------------------------
|
| // Miscellaneous
|
|
|
| @@ -218,7 +220,12 @@ enum GarbageCollector { SCAVENGER, MARK_COMPACTOR };
|
|
|
| enum Executability { NOT_EXECUTABLE, EXECUTABLE };
|
|
|
| -enum VisitMode { VISIT_ALL, VISIT_ALL_IN_SCAVENGE, VISIT_ONLY_STRONG };
|
| +enum VisitMode {
|
| + VISIT_ALL,
|
| + VISIT_ALL_IN_SCAVENGE,
|
| + VISIT_ALL_IN_SWEEP_NEWSPACE,
|
| + VISIT_ONLY_STRONG
|
| +};
|
|
|
| // Flag indicating whether code is built into the VM (one of the natives files).
|
| enum NativesFlag { NOT_NATIVES_CODE, NATIVES_CODE };
|
|
|