Index: runtime/vm/debugger.cc |
diff --git a/runtime/vm/debugger.cc b/runtime/vm/debugger.cc |
index 96eea3b9a8c72e516d3cd71e8225758be78a66e7..da6f054737b5d66b2b2fdc5587c8caf54d9e5a25 100644 |
--- a/runtime/vm/debugger.cc |
+++ b/runtime/vm/debugger.cc |
@@ -16,6 +16,7 @@ |
#include "vm/flags.h" |
#include "vm/globals.h" |
#include "vm/json_stream.h" |
+#include "vm/kernel_to_il.h" |
#include "vm/longjump.h" |
#include "vm/message_handler.h" |
#include "vm/object.h" |
@@ -3774,7 +3775,7 @@ bool Debugger::IsAtAsyncJump(ActivationFrame* top_frame) { |
const Script& script = Script::Handle(zone, top_frame->SourceScript()); |
if (script.kind() == RawScript::kKernelTag) { |
// Are we at a yield point (previous await)? |
- const Array& yields = Array::Handle(script.yield_positions()); |
+ Array& yields = Array::Handle(script.yield_positions()); |
Kevin Millikin (Google)
2017/06/29 12:27:36
It can still be const, can't it?
jensj
2017/06/30 05:51:17
Yes.
In fact, this file no longer needs to change
|
intptr_t looking_for = top_frame->TokenPos().value(); |
Smi& value = Smi::Handle(zone); |
for (int i = 0; i < yields.Length(); i++) { |