Index: src/layout-descriptor.cc |
diff --git a/src/layout-descriptor.cc b/src/layout-descriptor.cc |
index 11a72e732dbb023fb2802d3c9d841bf7b57da8aa..b3b3c3f86108af83bd5c3553e7fb9d7373bc7b5f 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::SEQUENTIAL_TO_SWEEPER>(this, delta); |
+ heap->RightTrimFixedArray(this, delta); |
} |
memset(DataPtr(), 0, DataSize()); |
LayoutDescriptor* layout_descriptor = |