Author: Armin Rigo <[email protected]>
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;
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit