Fix disassembly output from oprofile.
authorsgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 15 Jun 2009 16:33:28 +0000 (16:33 +0000)
committersgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 15 Jun 2009 16:33:28 +0000 (16:33 +0000)
commit97482a43bfba56fe2034c75651e765fc64dcdde5
treee45515c5b3d8e670e2dd4ab79efa394c1b063941
parent667176d910886017bc34b8b35c51ee0c1f757a75
Fix disassembly output from oprofile.

Only send the inscructions part of a code object to oprofile when reporting dynamically generated code. Before the code object header was also reported to oprofile as code which caused strange disassembly output when using opannotate.
Review URL: http://codereview.chromium.org/125126

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2174 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/codegen.cc
src/compiler.cc