• mikhail.naganov@gmail.com's avatar
    Show RegExp calls in the profile. · c1903ce3
    mikhail.naganov@gmail.com authored
    It turns out they were filtered out. But when I unfiltered them, I
    discovered another issue: when DevTools run, regexp literals get
    recompiled each time they called (looks like this is concerned with
    switching to full compiler), so I ended up having multiple entries for
    the same regexp. To fix this, I changed the way of how code entries
    equivalence is considered.
    
    BUG=crbug/55999
    TEST=cctest/test-profile-generator/ProfileNodeFindOrAddChildForSameFunction
    (the test isn't for the whole issue, but rather for equivalence testing)
    
    Review URL: http://codereview.chromium.org/3426008
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5492 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    c1903ce3
profile-generator-inl.h 4.49 KB