Fix the source position recorded for funtion return
authorsgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 14 Apr 2009 14:56:03 +0000 (14:56 +0000)
committersgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 14 Apr 2009 14:56:03 +0000 (14:56 +0000)
commit8b4cfc3768bdc194c99d38f34308bab52ebf63a8
treedbaaa033be095fea88fb96894ca1c3d55c17597c
parent0668a2a3559f8da871a04386dbbd944439098eb3
Fix the source position recorded for funtion return

Record the function return position as the end of the function source. Don't record function entry and return positions as statement positions.

Added a test for source position for break at function return.
Review URL: http://codereview.chromium.org/67109

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1706 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/codegen.cc
test/cctest/test-debug.cc