[pypy-commit] jitviewer default: Display in bold the residual calls too.

arigo noreply at buildbot.pypy.org
Mon Jul 11 15:36:28 CEST 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r143:24bc81b7de27
Date: 2011-06-26 14:02 +0200
http://bitbucket.org/pypy/jitviewer/changeset/24bc81b7de27/

Log:	Display in bold the residual calls too.

diff --git a/_jitviewer/parser.py b/_jitviewer/parser.py
--- a/_jitviewer/parser.py
+++ b/_jitviewer/parser.py
@@ -40,6 +40,8 @@
         s = getattr(self, 'repr_' + self.name, self.repr)()
         if self.is_guard():
             s = '<span class="guard">guard</span>(' + s + ')'
+        elif 'call' in self.name:
+            s = '<span class="call">' + s + '</span>'
         return Html(s)
 
     def _getvar(self, v):
diff --git a/static/style.css b/static/style.css
--- a/static/style.css
+++ b/static/style.css
@@ -163,8 +163,13 @@
 .guard {
     color: red;
 }
+.call {
+    font-size: 12px;
+    font-weight: bold;
+}
 span.dmp,
 span.guard,
+span.call,
 span.single-operation,
 .inlined_call {
 	display: inline-block;


More information about the pypy-commit mailing list