Back port r12439 and r12442 to the 3.10 branch:
Fix some corner cases in skipping native methods using caller.
Fix binding in new Function().
Review URL: https://chromiumcodereview.appspot.com/10911095

git-svn-id: http://v8.googlecode.com/svn/branches/3.10@12455 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
5 files changed