Author: Tobias Pape <tob...@netshed.de>
Branch: 
Changeset: r82895:7395989c4270
Date: 2016-03-08 20:58 +0100
http://bitbucket.org/pypy/pypy/changeset/7395989c4270/

Log:    Automated merge with ssh://bitbucket.org/pypy/pypy

diff --git a/rpython/jit/tool/traceviewer.py b/rpython/jit/tool/traceviewer.py
--- a/rpython/jit/tool/traceviewer.py
+++ b/rpython/jit/tool/traceviewer.py
@@ -103,9 +103,9 @@
             self.last_guard = -1
         else:
             # guards can be out of order nowadays
-            groups = sorted(groups)
-            self.first_guard = guard_number(groups[0])
-            self.last_guard = guard_number(groups[-1])
+            groups = sorted(map(guard_number, groups))
+            self.first_guard = groups[0]
+            self.last_guard = groups[-1]
 
     content = property(get_content, set_content)
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to