Index: runtime/vm/code_descriptors.cc |
diff --git a/runtime/vm/code_descriptors.cc b/runtime/vm/code_descriptors.cc |
index 18dbeadb9c271aa9f94030a4c3743158be3275c0..cc8b043800cde865cffba603c21d95ada417751f 100644 |
--- a/runtime/vm/code_descriptors.cc |
+++ b/runtime/vm/code_descriptors.cc |
@@ -73,7 +73,7 @@ RawArray* StackMapTableBuilder::FinalizeStackMaps(const Code& code) { |
if (num_entries == 0) { |
return Object::empty_array().raw(); |
} |
- return Array::MakeArray(list_); |
+ return Array::MakeFixedLength(list_); |
} |
@@ -406,7 +406,7 @@ RawArray* CodeSourceMapBuilder::InliningIdToFunction() { |
if (inlined_functions_.Length() == 0) { |
return Object::empty_array().raw(); |
} |
- return Array::MakeArray(inlined_functions_); |
+ return Array::MakeFixedLength(inlined_functions_); |
} |