Revision: 8903
Author:   [email protected]
Date:     Thu Aug 11 08:18:55 2011
Log:      Quick fix to issue 1593
BUG=v8:1593

Review URL: http://codereview.chromium.org/7622009
http://code.google.com/p/v8/source/detail?r=8903

Modified:
 /branches/bleeding_edge/src/runtime.js

=======================================
--- /branches/bleeding_edge/src/runtime.js      Tue Jul 19 02:38:59 2011
+++ /branches/bleeding_edge/src/runtime.js      Thu Aug 11 08:18:55 2011
@@ -366,7 +366,7 @@
 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.

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to