Commits

Maciej Fijalkowski  committed daba964

another fix (to untested part:)

  • Participants
  • Parent commits 7f88578

Comments (0)

Files changed (1)

File bin/jitviewer.py

 
         startline, endline = loop.linerange
         if loop.filename is not None:
-            code = self.storage.load_code(loop.filename)[loop.startlineno]
+            code = self.storage.load_code(loop.filename)[(loop.startlineno, loop.name)]
             source = CodeRepr(inspect.getsource(code), code, loop)
         else:
             source = CodeReprNoFile(loop)