Quick fix to issue 1593
BUG=v8:1593 Review URL: http://codereview.chromium.org/7622009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8903 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
d5d7185578
commit
189be860aa
@ -366,7 +366,7 @@ function IN(x) {
|
|||||||
function INSTANCE_OF(F) {
|
function INSTANCE_OF(F) {
|
||||||
var V = this;
|
var V = this;
|
||||||
if (!IS_FUNCTION(F)) {
|
if (!IS_FUNCTION(F)) {
|
||||||
throw %MakeTypeError('instanceof_function_expected', [V]);
|
throw %MakeTypeError('instanceof_function_expected', [F]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// If V is not an object, return false.
|
// If V is not an object, return false.
|
||||||
|
Loading…
Reference in New Issue
Block a user