Index: src/layout-descriptor.cc |
diff --git a/src/layout-descriptor.cc b/src/layout-descriptor.cc |
index 4bb48c0585249eade387436c487357b4a1c8f838..66a1f0fb07950404a4d36c9bca9b5c4a6be15014 100644 |
--- a/src/layout-descriptor.cc |
+++ b/src/layout-descriptor.cc |
@@ -245,7 +245,7 @@ LayoutDescriptor* LayoutDescriptor::Trim(Heap* heap, Map* map, |
if (current_length != array_length) { |
DCHECK_LT(array_length, current_length); |
int delta = current_length - array_length; |
- heap->RightTrimFixedArray<Heap::FROM_GC>(this, delta); |
+ heap->RightTrimFixedArray<Heap::SEQUENTIAL_TO_SWEEPER>(this, delta); |
} |
memset(DataPtr(), 0, DataSize()); |
LayoutDescriptor* layout_descriptor = |