Chromium Code Reviews| Index: runtime/vm/object.cc |
| =================================================================== |
| --- runtime/vm/object.cc (revision 25448) |
| +++ runtime/vm/object.cc (working copy) |
| @@ -8264,7 +8264,8 @@ |
| if (count == 0) { |
| comments = new Comments(Object::empty_array()); |
| } else { |
| - const Array& data = Array::Handle(Array::New(count * kNumberOfEntries)); |
| + const Array& data = |
| + Array::Handle(Array::New(count * kNumberOfEntries, Heap::kOld)); |
| comments = new Comments(data); |
| } |
| return *comments; |