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

Side by Side Diff: runtime/observatory/lib/src/service/object.dart

Issue 1174943002: Fix checked mode service test. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of service; 5 part of service;
6 6
7 /// An RpcException represents an exceptional event that happened 7 /// An RpcException represents an exceptional event that happened
8 /// while invoking an rpc. 8 /// while invoking an rpc.
9 abstract class RpcException implements Exception { 9 abstract class RpcException implements Exception {
10 RpcException(this.message); 10 RpcException(this.message);
(...skipping 2815 matching lines...) Expand 10 before | Expand all | Expand 10 after
2826 class CodeInlineInterval { 2826 class CodeInlineInterval {
2827 final int start; 2827 final int start;
2828 final int end; 2828 final int end;
2829 final List<ServiceFunction> functions = new List<ServiceFunction>(); 2829 final List<ServiceFunction> functions = new List<ServiceFunction>();
2830 bool contains(int pc) => (pc >= start) && (pc < end); 2830 bool contains(int pc) => (pc >= start) && (pc < end);
2831 CodeInlineInterval(this.start, this.end); 2831 CodeInlineInterval(this.start, this.end);
2832 } 2832 }
2833 2833
2834 class Code extends ServiceObject { 2834 class Code extends ServiceObject {
2835 @observable CodeKind kind; 2835 @observable CodeKind kind;
2836 @observable Instance objectPool; 2836 @observable ServiceObject objectPool;
2837 @observable ServiceFunction function; 2837 @observable ServiceFunction function;
2838 @observable Script script; 2838 @observable Script script;
2839 @observable bool isOptimized = false; 2839 @observable bool isOptimized = false;
2840 @reflectable int startAddress = 0; 2840 @reflectable int startAddress = 0;
2841 @reflectable int endAddress = 0; 2841 @reflectable int endAddress = 0;
2842 @reflectable final instructions = new ObservableList<CodeInstruction>(); 2842 @reflectable final instructions = new ObservableList<CodeInstruction>();
2843 @observable ProfileCode profile; 2843 @observable ProfileCode profile;
2844 final List<CodeInlineInterval> inlineIntervals = 2844 final List<CodeInlineInterval> inlineIntervals =
2845 new List<CodeInlineInterval>(); 2845 new List<CodeInlineInterval>();
2846 final ObservableList<ServiceFunction> inlinedFunctions = 2846 final ObservableList<ServiceFunction> inlinedFunctions =
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
3319 var v = list[i]; 3319 var v = list[i];
3320 if ((v is ObservableMap) && _isServiceMap(v)) { 3320 if ((v is ObservableMap) && _isServiceMap(v)) {
3321 list[i] = owner.getFromMap(v); 3321 list[i] = owner.getFromMap(v);
3322 } else if (v is ObservableList) { 3322 } else if (v is ObservableList) {
3323 _upgradeObservableList(v, owner); 3323 _upgradeObservableList(v, owner);
3324 } else if (v is ObservableMap) { 3324 } else if (v is ObservableMap) {
3325 _upgradeObservableMap(v, owner); 3325 _upgradeObservableMap(v, owner);
3326 } 3326 }
3327 } 3327 }
3328 } 3328 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698