Improve the JitCodeEventHandler API to add support for line position information.
authordanno@chromium.org <danno@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 18 Feb 2013 18:06:12 +0000 (18:06 +0000)
committerdanno@chromium.org <danno@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 18 Feb 2013 18:06:12 +0000 (18:06 +0000)
commitbe8e8f7528d03ffc55defde653fb82f08e3068e2
tree8cba0751eb868a04c40f222f6c610a4aa0cfde12
parent261def53c46f37bf6b9dc60114b1e920d59daa90
Improve the JitCodeEventHandler API to add support for line position information.

This includes:

* adding the CODE_ADD_LINE_POS_INFO, CODE_START_LINE_INFO_RECORDING, CODE_END_LINE_INFO_RECORDING event and the corresponding functionality.
 * adding the JITCodeLineInfo struct to record the code line info. I added this definition because Danno mentioned that "we'd like to cleanup and decouple the external debugging functionality"
 * some other small changes.

Review URL: https://chromiumcodereview.appspot.com/12223027
Patch from Chunyang Dai <chunyang.dai@intel.com>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13686 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
include/v8.h
src/assembler.cc
src/assembler.h
src/full-codegen.cc
src/lithium.cc
src/log.cc
src/log.h
test/cctest/test-api.cc