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

Unified Diff: runtime/observatory/tests/service/get_object_rpc_test.dart

Issue 1096203007: VM: Use canonical empty-array for empty inlining meta-data. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: saved one more array per unoptimized code object Created 5 years, 8 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 | « no previous file | runtime/vm/compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/tests/service/get_object_rpc_test.dart
===================================================================
--- runtime/observatory/tests/service/get_object_rpc_test.dart (revision 45397)
+++ runtime/observatory/tests/service/get_object_rpc_test.dart (working copy)
@@ -350,8 +350,8 @@
expect(result['_objectPool'], isNotNull);
expect(result['_disassembly'], isNotNull);
expect(result['_descriptors'], isNotNull);
- expect(result['_inlinedFunctions'], isNotNull);
- expect(result['_inlinedIntervals'], isNotNull);
+ expect(result['_inlinedFunctions'], anyOf([isNull, new isInstanceOf<List>()]));
+ expect(result['_inlinedIntervals'], anyOf([isNull, new isInstanceOf<List>()]));
},
// invalid code.
« no previous file with comments | « no previous file | runtime/vm/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698