| Index: runtime/vm/object.cc
|
| diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
|
| index 1d6e33b59437726ee85bbe006a150a9e8e1a86f6..eba6959a351cab4c89a568619b753520d433b40e 100644
|
| --- a/runtime/vm/object.cc
|
| +++ b/runtime/vm/object.cc
|
| @@ -2103,7 +2103,7 @@ void Class::SetFunctions(const Array& value) const {
|
| ASSERT(!value.IsNull());
|
| StorePointer(&raw_ptr()->functions_, value.raw());
|
| const intptr_t len = value.Length();
|
| - ClassFunctionsSet set(HashTables::New<ClassFunctionsSet>(len));
|
| + ClassFunctionsSet set(HashTables::New<ClassFunctionsSet>(len, Heap::kOld));
|
| if (len >= kFunctionLookupHashTreshold) {
|
| Function& func = Function::Handle();
|
| for (intptr_t i = 0; i < len; ++i) {
|
|
|