LGTM

On Fri, Oct 10, 2008 at 11:25 AM,  <[EMAIL PROTECTED]> wrote:
> Reviewers: Mads Ager,
>
> Description:
> Improve profiler output to make it easier to see the
> anonymous functions.
>
> Please review this at http://codereview.chromium.org/7075
>
> Affected files:
>  M     tools/tickprocessor.py
>
>
> Index: tools/tickprocessor.py
> ===================================================================
> --- tools/tickprocessor.py      (revision 485)
> +++ tools/tickprocessor.py      (working copy)
> @@ -65,7 +65,9 @@
>     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):
>
>
>

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to