[pypy-commit] jitviewer default: make bridges more prominent

fijal noreply at buildbot.pypy.org
Thu Mar 1 02:00:37 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r191:bb4618bf643e
Date: 2012-02-29 17:00 -0800
http://bitbucket.org/pypy/jitviewer/changeset/bb4618bf643e/

Log:	make bridges more prominent

diff --git a/_jitviewer/static/style.css b/_jitviewer/static/style.css
--- a/_jitviewer/static/style.css
+++ b/_jitviewer/static/style.css
@@ -224,6 +224,10 @@
     display: none;
 }
 
+.bridgelink {
+    font-weight: bold;
+}
+
 /* End of Formatting 
 -----------------------------------------*/
 
diff --git a/_jitviewer/templates/loop.html b/_jitviewer/templates/loop.html
--- a/_jitviewer/templates/loop.html
+++ b/_jitviewer/templates/loop.html
@@ -13,7 +13,7 @@
                    {% for op in chunk.operations %}
                       {% if op.name != "debug_merge_point" %}
                         {% if op.bridge %}
-                          <span class="guard single-operation">{{op.html_repr()}}</span><a href="/" onClick="show_loop('{{op.bridge}}'); return false">&nbsp;show bridge</a>&nbsp; (run {{op.count}} times)<br/>
+                          <span class="guard single-operation">{{op.html_repr()}}</span><a class="bridgelink" href="/" onClick="show_loop('{{op.bridge}}'); return false">&nbsp;show bridge</a>&nbsp; (run {{op.count}} times)<br/>
                           {% if op.asm %}
                             <p class="asm">{{op.asm}}</p>
                           {% endif %}


More information about the pypy-commit mailing list