X64: Add a jumptable to for deoptimization checks on X64.
authorricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 28 Feb 2011 13:57:42 +0000 (13:57 +0000)
committerricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 28 Feb 2011 13:57:42 +0000 (13:57 +0000)
commit94c18b1cf8be72b4775efc0a64d87da056b8fdd9
treeeb5d2580d496f1b382e8fe72de10569973767800
parent7c561be5192b440c9e220ef04dcac0567f022c91
X64: Add a jumptable to for deoptimization checks on X64.

The current version includes an extra jump compared to IA32, because
we need to load the jump address into a register and do an indirect
jump, but in the normal case we just jump over this by negating the
deoptimization conditional.

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

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