Reviewers: danno,

Description:
Rollback of r8903


Please review this at http://codereview.chromium.org/7620012/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/runtime.js


Index: src/runtime.js
diff --git a/src/runtime.js b/src/runtime.js
index c91861f0ff4dbb78cf60a13922bedbd5b279989d..4b600df7360b3431f9a3834937a022e35d1a4648 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', [F]);
+    throw %MakeTypeError('instanceof_function_expected', [V]);
   }

   // 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