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

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
« no previous file with comments | « runtime/vm/object_service.cc ('k') | runtime/vm/pages.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 8cc81eef9391a53a0f61dd816e5935f5ef3147dc..ae009ec0be0c2c96ba9b749bc796ef52d42e5b40 100644
--- a/runtime/vm/object_test.cc
+++ b/runtime/vm/object_test.cc
@@ -4039,6 +4039,9 @@ TEST_CASE(FunctionSourceFingerprint) {
TEST_CASE(FunctionWithBreakpointNotInlined) {
+ if (!FLAG_support_debugger) {
+ return;
+ }
const char* kScriptChars =
"class A {\n"
" a() {\n"
@@ -4108,6 +4111,9 @@ VM_TEST_CASE(SpecialClassesHaveEmptyArrays) {
}
+#ifndef PRODUCT
+
+
class ObjectAccumulator : public ObjectVisitor {
public:
explicit ObjectAccumulator(GrowableArray<Object*>* objects)
@@ -4436,6 +4442,9 @@ VM_TEST_CASE(PrintJSONPrimitives) {
}
+#endif // !PRODUCT
+
+
TEST_CASE(InstanceEquality) {
// Test that Instance::OperatorEquals can call a user-defined operator==.
const char* kScript =
« no previous file with comments | « 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