Make sure to check that the function prototype is a
authorkasperl@chromium.org <kasperl@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 8 Oct 2008 14:03:53 +0000 (14:03 +0000)
committerkasperl@chromium.org <kasperl@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 8 Oct 2008 14:03:53 +0000 (14:03 +0000)
commitb314b46b0901dabe0ee74cf9985a078fb0b4beb0
treed6f43ac4c59737af201fefcf0007c024fc7d809d
parent77643dbef6e7a6878f29d0fb791011d53bd90472
Make sure to check that the function prototype is a
real JavaScript object before looking for it in the
prototype chain during instanceof checks.
Review URL: http://codereview.chromium.org/6579

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@471 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/codegen-ia32.cc
src/stub-cache-ia32.cc
test/mjsunit/instanceof.js