Index: runtime/observatory/lib/src/elements/function_view.dart |
diff --git a/runtime/observatory/lib/src/elements/function_view.dart b/runtime/observatory/lib/src/elements/function_view.dart |
index a0f3111ec13406d030f1d29a44d7888a5399da94..4ff1ee21875980f0a4ced84d3206551fadc3e24e 100644 |
--- a/runtime/observatory/lib/src/elements/function_view.dart |
+++ b/runtime/observatory/lib/src/elements/function_view.dart |
@@ -273,20 +273,31 @@ class FunctionViewElement extends HtmlElement implements Renderable { |
] |
); |
} |
+ members.add( |
+ new DivElement() |
+ ..classes = ['memberItem'] |
+ ..text = ' '); |
+ |
+ if (_function.icDataArray != null) { |
+ members.add( |
+ new DivElement() |
+ ..classes = ['memberItem'] |
+ ..children = [ |
+ new DivElement() |
+ ..classes = ['memberName'] |
+ ..text = 'ic data array', |
+ new DivElement() |
+ ..classes = ['memberName'] |
+ ..children = [ |
+ new InstanceRefElement(_isolate, _function.icDataArray, |
+ _instances, queue: _r.queue) |
+ ] |
+ ] |
+ ); |
+ } |
+ |
members.addAll([ |
new DivElement()..classes = ['memberItem'] |
- ..text = ' ', |
- new DivElement()..classes = ['memberItem'] |
- ..children = [ |
- new DivElement()..classes = ['memberName'] |
- ..text = 'ic data array', |
- new DivElement()..classes = ['memberName'] |
- ..children = [ |
- new InstanceRefElement(_isolate, _function.icDataArray, |
- _instances, queue: _r.queue) |
- ] |
- ], |
- new DivElement()..classes = ['memberItem'] |
..children = [ |
new DivElement()..classes = ['memberName'] |
..text = 'deoptimizations', |