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

Unified Diff: runtime/bin/vmservice/client/lib/src/observatory_elements/disassembly_entry.html

Issue 50243002: Extend Observatory to display libraries, classes, fields, functions and code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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
Index: runtime/bin/vmservice/client/lib/src/observatory_elements/disassembly_entry.html
diff --git a/runtime/bin/vmservice/client/lib/src/observatory_elements/disassembly_entry.html b/runtime/bin/vmservice/client/lib/src/observatory_elements/disassembly_entry.html
new file mode 100644
index 0000000000000000000000000000000000000000..cc20dd7ab8b063c4427549397ea00919c9f1dd4f
--- /dev/null
+++ b/runtime/bin/vmservice/client/lib/src/observatory_elements/disassembly_entry.html
@@ -0,0 +1,22 @@
+<head>
+ <link rel="import" href="observatory_element.html">
+</head>
+<polymer-element name="disassembly-entry" extends="observatory-element">
+ <template>
+ <div class="row">
+ <template if="{{ instruction['type'] == 'DisassembledInstructionComment' }}">
+ <div class="col-md-2"></div>
+ <div class="col-md-2"></div>
+ <div class="col-md-4"><code>{{ instruction['comment'] }}</code></div>
+ </template>
+ <template if="{{ instruction['type'] == 'DisassembledInstruction' }}">
+ <div class="col-md-2"></div>
+ <div class="col-md-2">{{ instruction['pc'] }}</div>
+ <div class="col-md-4">
+ <code>{{ instruction['hex'] }} {{ instruction['human'] }}</code>
+ </div>
+ </template>
+ </div>
+ </template>
+ <script type="application/dart" src="disassembly_entry.dart"></script>
+</polymer-element>

Powered by Google App Engine
This is Rietveld 408576698