Index: runtime/vm/profiler_service.cc |
diff --git a/runtime/vm/profiler_service.cc b/runtime/vm/profiler_service.cc |
index e773e9560f62f79946771ca24f2fc8cf7879b3da..1513f6f5ca59a827317af91fc3910c30e66fa88c 100644 |
--- a/runtime/vm/profiler_service.cc |
+++ b/runtime/vm/profiler_service.cc |
@@ -58,7 +58,7 @@ class DeoptimizedCodeSet : public ZoneAllocated { |
return false; |
} |
NoSafepointScope no_safepoint_scope; |
- for (intptr_t i = 0; array.Length(); i++) { |
+ for (intptr_t i = 0; i < array.Length(); i++) { |
if (code.raw() == array.At(i)) { |
return true; |
} |