Commit 8df739da authored by kasperl@chromium.org's avatar kasperl@chromium.org

Improve profiler output to make it easier to see the

anonymous functions.
Review URL: http://codereview.chromium.org/7075

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@486 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent be876256
......@@ -65,7 +65,9 @@ class JSCodeEntry(CodeEntry):
self.size = size
def ToString(self):
return self.name + ' ' + self.type
name = self.name
if name == '': name = '<anonymous>'
return self.type + ': ' + name
class TickProcessor(object):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment