X64: Port r6635 and r6659
authorsgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 24 Feb 2011 11:36:14 +0000 (11:36 +0000)
committersgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 24 Feb 2011 11:36:14 +0000 (11:36 +0000)
commitc8f8c69fd65745035d255cd1cdd7e8981df2a779
treec57816803afc2849d8ae2932db47f3e432043532
parentcfd6268256dbe469a64800c71bb233402ca53188
X64: Port r6635 and r6659

r6635: Remove the redundant load on every context lookup.
r6659: Do not compile the unreachable body of functions with illegal redeclarations.

The crankshaft part of these changes are already ported.
Review URL: http://codereview.chromium.org/6581029

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6929 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/x64/full-codegen-x64.cc
src/x64/macro-assembler-x64.cc