Merged r18307 into 3.23 branch.

Fix polymorphic inlined calls with migrating prototypes

R=verwaest@chromium.org

Review URL: https://codereview.chromium.org/133693002

git-svn-id: https://v8.googlecode.com/svn/branches/3.23@18535 ce2b1a6d-e550-0410-aec6-3dcde31c8c00