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

Unified Diff: runtime/lib/stacktrace.cc

Issue 2766353005: Hacky fix for kernel bots (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « no previous file | runtime/vm/kernel_to_il.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/stacktrace.cc
diff --git a/runtime/lib/stacktrace.cc b/runtime/lib/stacktrace.cc
index 2d6267a3b2e60efdb0186b3354f8f9fa9f5ff076..daf703697e833d29caf0ce4d54e296a27a1c865f 100644
--- a/runtime/lib/stacktrace.cc
+++ b/runtime/lib/stacktrace.cc
@@ -111,11 +111,13 @@ DEFINE_NATIVE_ENTRY(StackTrace_current, 0) {
DEFINE_NATIVE_ENTRY(StackTrace_asyncStackTraceHelper, 1) {
- GET_NON_NULL_NATIVE_ARGUMENT(Closure, async_op, arguments->NativeArgAt(0));
- if (FLAG_support_debugger) {
- Debugger* debugger = isolate->debugger();
- if (debugger != NULL) {
- debugger->MaybeAsyncStepInto(async_op);
+ GET_NATIVE_ARGUMENT(Closure, async_op, arguments->NativeArgAt(0));
+ if (!async_op.IsNull()) {
+ if (FLAG_support_debugger) {
+ Debugger* debugger = isolate->debugger();
+ if (debugger != NULL) {
+ debugger->MaybeAsyncStepInto(async_op);
+ }
}
}
return CurrentStackTrace(thread, true);
« no previous file with comments | « no previous file | runtime/vm/kernel_to_il.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698