DescriptionCpuProfiler: eliminate 2 layers of 4 for CodeCreateEvent calls.
The bodies of methods in ProfilerEventProcessor were moved into CpuProfiler.
Multiple NewCodeEntry methods in CpuProfilesCollection were replaced with one which
simply passes arguments to the CodeEntry constructor.
And CpuProfiler just calls this method when it needs a CodeEntry object.
This NewCodeEntry method is required because CpuProfilesCollection keeps ownership of CodeEntry objects.
BUG=255392
TEST=existing tests
R=yangguo@chromium.org, yurys@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=15405
Committed: https://code.google.com/p/v8/source/detail?r=15407
Patch Set 1 #Patch Set 2 : all tests were fixed #
Total comments: 14
Patch Set 3 : comments addressed #Patch Set 4 : const & was fixed #
Total comments: 4
Patch Set 5 : comments addressed #Patch Set 6 : win32 compile error was fixed #
Messages
Total messages: 8 (0 generated)
|