Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(768)

Unified Diff: runtime/vm/debugger.cc

Issue 2931773005: [kernel] Delete most of the AST (Closed)
Patch Set: Remove getMainClosure handeling as it no longer exists Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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++) {

Powered by Google App Engine
This is Rietveld 408576698