Index: src/debug/liveedit.cc |
diff --git a/src/debug/liveedit.cc b/src/debug/liveedit.cc |
index f1ee6dbeb8914e6213cfb45841fc05301583dbbc..accd547d003e4bf1bb210d5bbaa7d77074cae2c1 100644 |
--- a/src/debug/liveedit.cc |
+++ b/src/debug/liveedit.cc |
@@ -1732,6 +1732,7 @@ Handle<JSArray> LiveEdit::CheckAndDropActivations( |
FixedArray::cast(old_shared_array->elements())); |
Handle<JSArray> result = isolate->factory()->NewJSArray(len); |
+ result->set_length(Smi::FromInt(len)); |
JSObject::EnsureWritableFastElements(result); |
Handle<FixedArray> result_elements = |
handle(FixedArray::cast(result->elements()), isolate); |