Index: runtime/vm/service.cc |
diff --git a/runtime/vm/service.cc b/runtime/vm/service.cc |
index 0d134e86371811d3bcae2afc6087014e140ebe10..554b11007a132510fcfc49489de3b01bbd516772 100644 |
--- a/runtime/vm/service.cc |
+++ b/runtime/vm/service.cc |
@@ -2353,8 +2353,9 @@ static bool Evaluate(Thread* thread, JSONStream* js) { |
if (BuildScope(thread, js, names, values)) { |
return true; |
} |
- const Array& names_array = Array::Handle(zone, Array::MakeArray(names)); |
- const Array& values_array = Array::Handle(zone, Array::MakeArray(values)); |
+ const Array& names_array = Array::Handle(zone, Array::MakeFixedLength(names)); |
+ const Array& values_array = |
+ Array::Handle(zone, Array::MakeFixedLength(values)); |
const String& expr_str = String::Handle(zone, String::New(expr)); |
ObjectIdRing::LookupResult lookup_result; |