Fix incorrect function name inference in case of assignment / global assignment.
authormikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 3 Oct 2011 19:18:05 +0000 (19:18 +0000)
committermikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 3 Oct 2011 19:18:05 +0000 (19:18 +0000)
commit3e4b4a6a86badeeb0585926e7e680ca401efa524
treef8dba92896848d6948f6949b4ca15a0776c325b9
parenta4e01037081aba346a7526d8a7c22204504d9a61
Fix incorrect function name inference in case of assignment / global assignment.

R=kmillikin@chromium.org
BUG=v8:1732
TEST=test-func-name-inference/GlobalAssignmentAndCall,AssignmentAndCall

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9508 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/func-name-inferrer.h
src/parser.cc
test/cctest/test-func-name-inference.cc