Fix pc offset calculation for stack traces
authorsgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 1 Apr 2011 10:30:09 +0000 (10:30 +0000)
committersgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 1 Apr 2011 10:30:09 +0000 (10:30 +0000)
commit74c2bdc3fe2d50ac5f5cd88a283d2b7035098218
tree271ef06a287cf4941193b30fd0bcf45d3df6d245
parent71431d79a0df471921727473bfad2d42c1d5a507
Fix pc offset calculation for stack traces

Use the correct address of the code object to calculate the offset from the code object start to a pc for an optimized frame.

BUG=
TEST=

Review URL: http://codereview.chromium.org//6759052

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