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

Unified Diff: runtime/vm/debugger_api_impl_test.cc

Issue 1448463004: Cleanups. More mutator thread asserts. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: e Created 5 years, 1 month 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 | « runtime/vm/compiler.cc ('k') | runtime/vm/flow_graph_optimizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/debugger_api_impl_test.cc
diff --git a/runtime/vm/debugger_api_impl_test.cc b/runtime/vm/debugger_api_impl_test.cc
index 80b287941e5b1dd5731da30319e57698ceef5144..1bfc4ceac75d3905057b058bbb95be7bc1ed75df 100644
--- a/runtime/vm/debugger_api_impl_test.cc
+++ b/runtime/vm/debugger_api_impl_test.cc
@@ -11,6 +11,7 @@
namespace dart {
+DECLARE_FLAG(bool, background_compilation);
DECLARE_FLAG(int, optimization_counter_threshold);
DECLARE_FLAG(bool, use_osr);
@@ -493,6 +494,8 @@ TEST_CASE(Debug_InspectStack_NotOptimized) {
TEST_CASE(Debug_InspectStack_Optimized) {
+ // Ensure code gets optimized.
+ FLAG_background_compilation = false;
InspectStackTest(true);
}
@@ -589,6 +592,8 @@ TEST_CASE(Debug_InspectStackWithClosure_NotOptimized) {
TEST_CASE(Debug_InspectStackWithClosure_Optimized) {
+ // Ensure code gets optimized.
+ FLAG_background_compilation = false;
InspectStackWithClosureTest(true);
}
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/flow_graph_optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698