Index: src/runtime/runtime-array.cc |
diff --git a/src/runtime/runtime-array.cc b/src/runtime/runtime-array.cc |
index 1a2d957cafb83a00561bb7983258b354ac61b0cc..51b8cb956b171519d16c3d96b941782b9c4a3cd2 100644 |
--- a/src/runtime/runtime-array.cc |
+++ b/src/runtime/runtime-array.cc |
@@ -249,8 +249,7 @@ RUNTIME_FUNCTION(Runtime_GetArrayKeys) { |
} |
if (j != keys->length()) { |
- isolate->heap()->RightTrimFixedArray<Heap::CONCURRENT_TO_SWEEPER>( |
- *keys, keys->length() - j); |
+ isolate->heap()->RightTrimFixedArray(*keys, keys->length() - j); |
} |
return *isolate->factory()->NewJSArrayWithElements(keys); |