| Index: runtime/vm/snapshot_test.cc
|
| diff --git a/runtime/vm/snapshot_test.cc b/runtime/vm/snapshot_test.cc
|
| index 35d372881c4a8badcb006fabd439bdbecc575637..ad05ebaf3a739a47bd5d8152771703f9fb03538f 100644
|
| --- a/runtime/vm/snapshot_test.cc
|
| +++ b/runtime/vm/snapshot_test.cc
|
| @@ -19,7 +19,6 @@
|
| namespace dart {
|
|
|
| DECLARE_FLAG(bool, enable_type_checks);
|
| -DECLARE_FLAG(bool, load_deferred_eagerly);
|
| DECLARE_FLAG(bool, concurrent_sweep);
|
|
|
| // Check if serialized and deserialized objects are equal.
|
| @@ -1001,6 +1000,7 @@ TEST_CASE(SerializeScript) {
|
| }
|
|
|
|
|
| +#if !defined(PRODUCT) // Uses deferred loading.
|
| UNIT_TEST_CASE(CanonicalizationInScriptSnapshots) {
|
| const char* kScriptChars =
|
| "\n"
|
| @@ -1106,6 +1106,7 @@ UNIT_TEST_CASE(CanonicalizationInScriptSnapshots) {
|
| free(script_snapshot);
|
| free(full_snapshot);
|
| }
|
| +#endif
|
|
|
|
|
| static void IterateScripts(const Library& lib) {
|
| @@ -1469,9 +1470,6 @@ UNIT_TEST_CASE(ScriptSnapshot) {
|
| }
|
|
|
|
|
| -#endif // !PRODUCT
|
| -
|
| -
|
| UNIT_TEST_CASE(ScriptSnapshot1) {
|
| const char* kScriptChars =
|
| "class _SimpleNumEnumerable<T extends num> {"
|
| @@ -1666,6 +1664,9 @@ UNIT_TEST_CASE(ScriptSnapshot2) {
|
| }
|
|
|
|
|
| +#endif // !PRODUCT
|
| +
|
| +
|
| TEST_CASE(IntArrayMessage) {
|
| StackZone zone(Thread::Current());
|
| uint8_t* buffer = NULL;
|
|
|