Clean up Context::Lookup and its uses.
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 12 Sep 2011 08:57:09 +0000 (08:57 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 12 Sep 2011 08:57:09 +0000 (08:57 +0000)
commitdf11bd7b756923585ecffda42709c17ddc2b6525
tree131d3d6ae44581701e586211e99bd47617c0e7b4
parent75b32ce7b8b0aa4f6e6dbc834aea59d1dc0a6c9c
Clean up Context::Lookup and its uses.

Refactor Context::Lookup so it is more obvious.  Change the comment in
contexts.h so it no longer indicates that it can return an arguments
object (it can't) and clean up the call sites that had leftover dead code.

BUG=
TEST=

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9223 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/contexts.cc
src/contexts.h
src/hydrogen.cc
src/runtime.cc