OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 library objectpool_view; | 5 library objectpool_view; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:html'; | 8 import 'dart:html'; |
9 import 'package:observatory/models.dart' as M; | 9 import 'package:observatory/models.dart' as M; |
10 import 'package:observatory/src/elements/context_ref.dart'; | 10 import 'package:observatory/src/elements/context_ref.dart'; |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 return [ | 165 return [ |
166 new SpanElement() | 166 new SpanElement() |
167 ..text = 'Immediate 0x${entry.asInteger.toRadixString(16)}' | 167 ..text = 'Immediate 0x${entry.asInteger.toRadixString(16)}' |
168 ]; | 168 ]; |
169 case M.ObjectPoolEntryKind.nativeEntry: | 169 case M.ObjectPoolEntryKind.nativeEntry: |
170 return [ | 170 return [ |
171 new SpanElement() | 171 new SpanElement() |
172 ..text = 'NativeEntry 0x${entry.asInteger.toRadixString(16)}' | 172 ..text = 'NativeEntry 0x${entry.asInteger.toRadixString(16)}' |
173 ]; | 173 ]; |
174 } | 174 } |
175 throw new Exception('Unkown ObjectPoolEntryKind (${entry.kind})'); | 175 throw new Exception('Unknown ObjectPoolEntryKind (${entry.kind})'); |
176 } | 176 } |
177 } | 177 } |
OLD | NEW |