From 189be860aaea963f7e03e21d0380bc77bce1e22a Mon Sep 17 00:00:00 2001 From: "yangguo@chromium.org" Date: Thu, 11 Aug 2011 15:18:55 +0000 Subject: [PATCH] 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 --- src/runtime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime.js b/src/runtime.js index 4b600df736..c91861f0ff 100644 --- a/src/runtime.js +++ b/src/runtime.js @@ -366,7 +366,7 @@ function IN(x) { function INSTANCE_OF(F) { var V = this; if (!IS_FUNCTION(F)) { - throw %MakeTypeError('instanceof_function_expected', [V]); + throw %MakeTypeError('instanceof_function_expected', [F]); } // If V is not an object, return false.