Chromium Code Reviews| Index: src/heap/spaces.h |
| diff --git a/src/heap/spaces.h b/src/heap/spaces.h |
| index 59d8cfb6d9ed6d9d7c06d8e9d58689cb2950437e..5d05d297629d88520696eaab0c26819aec441332 100644 |
| --- a/src/heap/spaces.h |
| +++ b/src/heap/spaces.h |
| @@ -713,7 +713,8 @@ class MemoryChunk { |
| } |
| bool ShouldSkipEvacuationSlotRecording() { |
| - return (flags_ & kSkipEvacuationSlotsRecordingMask) != 0; |
| + return ((flags_ & kSkipEvacuationSlotsRecordingMask) != 0) && |
| + !IsFlagSet(COMPACTION_WAS_ABORTED); |
| } |
| Executability executable() { |