Print deoptimization index when printing lithium environment.
authorvegorov@chromium.org <vegorov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 11 Feb 2013 14:12:13 +0000 (14:12 +0000)
committervegorov@chromium.org <vegorov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 11 Feb 2013 14:12:13 +0000 (14:12 +0000)
commit5aafde92858b8acce88bcadba579f8394c5fb3d1
treeb689c84cb847c49f9411088b513485df382556eb
parent7b45ab9501190447d9963487cd034e184667572f
Print deoptimization index when printing lithium environment.

Output of --trace-deopt --code-comments does not always allow to reliably match deoptimization to the lithium instruction (and it is actually never accurate on x64 due to one level of indirection). This change allows to reliably figure out which instruction deoptimized just by looking up bailout id in the hydrogen.cfg.

R=danno@chromium.org
BUG=

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

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