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

Unified Diff: runtime/vm/object_test.cc

Issue 1168933002: Fixes crashes in VM isolate shutdown. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Add asserts Created 5 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/object_test.cc
diff --git a/runtime/vm/object_test.cc b/runtime/vm/object_test.cc
index 028455deab2356593c5ce032d5c27fb5384cafc0..646a86cb77e9db8fd2e3ab3c7a34a7be2f844fdd 100644
--- a/runtime/vm/object_test.cc
+++ b/runtime/vm/object_test.cc
@@ -4182,6 +4182,7 @@ TEST_CASE(FunctionWithBreakpointNotInlined) {
EXPECT(func_b.CanBeInlined());
// After setting a breakpoint in a function A.b, it is no longer inlineable.
+ ASSERT(Isolate::Current()->debugger() != NULL);
Breakpoint* bpt =
Isolate::Current()->debugger()->SetBreakpointAtLine(name,
kBreakpointLine);
« runtime/vm/isolate.cc ('K') | « runtime/vm/object.cc ('k') | runtime/vm/parser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698