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

Unified Diff: runtime/vm/object_test.cc

Issue 2981173002: Remove the debugger_ field from Isolate in a PRODUCT build (Closed)
Patch Set: Remove flag support_debugger Created 3 years, 5 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 | « runtime/vm/object.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object_test.cc
diff --git a/runtime/vm/object_test.cc b/runtime/vm/object_test.cc
index bf4515386ce299bdd4e9cc0e6f74c584796de247..0b84430850c7ac80bd8b8bd026db4d175375cda5 100644
--- a/runtime/vm/object_test.cc
+++ b/runtime/vm/object_test.cc
@@ -3975,10 +3975,9 @@ TEST_CASE(FunctionSourceFingerprint) {
EXPECT_EQ(a_test6.SourceFingerprint(), b_test6.SourceFingerprint());
}
+#ifndef PRODUCT
+
TEST_CASE(FunctionWithBreakpointNotInlined) {
- if (!FLAG_support_debugger) {
- return;
- }
const char* kScriptChars =
"class A {\n"
" a() {\n"
@@ -4043,8 +4042,6 @@ ISOLATE_UNIT_TEST_CASE(SpecialClassesHaveEmptyArrays) {
EXPECT(array.IsArray());
}
-#ifndef PRODUCT
-
class ObjectAccumulator : public ObjectVisitor {
public:
explicit ObjectAccumulator(GrowableArray<Object*>* objects)
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698