Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index f51b6878244545df68437498b6039ec0f793664a..9e44b586bd36e48807fb6a989f264d11681f0edd 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -2469,7 +2469,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_RegExpConstructResult) { |
} |
Object* new_object; |
{ MaybeObject* maybe_new_object = |
- isolate->heap()->AllocateFixedArrayWithHoles(elements_count); |
+ isolate->heap()->AllocateFixedArray(elements_count); |
if (!maybe_new_object->ToObject(&new_object)) return maybe_new_object; |
} |
FixedArray* elements = FixedArray::cast(new_object); |