Fix issue 380.
Don't infer name for a function if a result of its call is assigned to a variable / property. E.g., in this case: a = function() { ... } (); the function must remain anonymous because 'a' doesn't receive a function reference, but instead a result of its call. BUG=http://code.google.com/p/v8/issues/detail?id=380 TEST=cctest/test-func-name-inference/Issue380 Review URL: http://codereview.chromium.org/126195 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2185 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Showing
Please
register
or
sign in
to comment