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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/objects/function.dart

Issue 2291823002: Converted Observatory function-view element (Closed)
Patch Set: Updated observatory_sources.gypi Created 4 years, 4 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/observatory/observatory_sources.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/tests/observatory_ui/mocks/objects/function.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/function.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/function.dart
index 85eae71edf097dfbcc7b3e2acafda0d2ab3a6593..d017211f122d58c8d58ac017ed1b8e82aa17e264 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/function.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/function.dart
@@ -27,7 +27,22 @@ class FunctionMock implements M.Function {
final M.FunctionKind kind;
final M.SourceLocation location;
final M.CodeRef code;
+ final M.CodeRef unoptimizedCode;
+ final M.FieldRef field;
+ final int usageCounter;
+ final M.InstanceRef icDataArray;
+ final int deoptimizations;
+ final bool isOptimizable;
+ final bool isInlinable;
+ final bool hasIntrinsic;
+ final bool isRecognized;
+ final bool isNative;
+ final String vmName;
const FunctionMock({this.id, this.name, this.clazz, this.size, this.dartOwner,
this.isStatic : false, this.isConst : false, this.kind, this.location,
- this.code});
+ this.code, this.unoptimizedCode, this.field, this.usageCounter: 0,
+ this.icDataArray: const InstanceRefMock(), this.deoptimizations: 0,
+ this.isOptimizable: false, this.isInlinable: false,
+ this.hasIntrinsic: false, this.isRecognized: false, this.isNative: false,
+ this.vmName: 'function-vm-name',});
}
« no previous file with comments | « runtime/observatory/observatory_sources.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698