Reviewers: Søren Gjesse,

Description:
Show RegExp calls in the profile.

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)

Please review this at http://codereview.chromium.org/3426008/show

Affected files:
  M src/api.cc
  M src/cpu-profiler-inl.h
  M src/profile-generator-inl.h
  M src/profile-generator.h
  M src/profile-generator.cc
  M test/cctest/test-profile-generator.cc


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

Reply via email to