CPUProfiler: remove copy&paste from CodeCreateEvent.
authorloislo@chromium.org <loislo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 24 Jun 2013 08:40:38 +0000 (08:40 +0000)
committerloislo@chromium.org <loislo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 24 Jun 2013 08:40:38 +0000 (08:40 +0000)
commit9d95db6fad2b0c15edf6bafd54953d5befe2f5a6
tree86b79962482a54fdb00b0ebe646a8dacb9c191db
parentf830fbea3c8e592e2fe57f354195c0c1ca190662
CPUProfiler: remove copy&paste from CodeCreateEvent.

This is the next patch on the way of simplifying profiler API.
It is extracting the common parts of the serialization process.

TEST=current test set
R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/16917008

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15276 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/log.cc
src/log.h