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

Unified Diff: runtime/vm/object_test.cc

Issue 1660063002: Remove many features when building product mode (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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 d681c08c821837cb78dfd05dadf23a11f6e8dd5b..44c7ab0741965d0cb35610b32a1b4a1ba9e6adf1 100644
--- a/runtime/vm/object_test.cc
+++ b/runtime/vm/object_test.cc
@@ -4033,6 +4033,9 @@ TEST_CASE(FunctionSourceFingerprint) {
TEST_CASE(FunctionWithBreakpointNotInlined) {
+ if (!FLAG_support_debugger) {
+ return;
+ }
const char* kScriptChars =
"class A {\n"
" a() {\n"
@@ -4102,6 +4105,9 @@ VM_TEST_CASE(SpecialClassesHaveEmptyArrays) {
}
+#ifndef PRODUCT
+
+
class ObjectAccumulator : public ObjectVisitor {
public:
explicit ObjectAccumulator(GrowableArray<Object*>* objects)
@@ -4430,6 +4436,9 @@ VM_TEST_CASE(PrintJSONPrimitives) {
}
+#endif // !PRODUCT
+
+
TEST_CASE(InstanceEquality) {
// Test that Instance::OperatorEquals can call a user-defined operator==.
const char* kScript =
« runtime/vm/isolate.cc ('K') | « runtime/vm/object_service.cc ('k') | runtime/vm/pages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698