Revision: 8802
Author:   [email protected]
Date:     Wed Aug  3 03:11:09 2011
Log:      MIPS: port Fix ClassOf check on ARM.

Ported r8713 (6bdadc4)

BUG=
TEST=

Review URL: http://codereview.chromium.org/7564003
Patch from Paul Lind <[email protected]>.
http://code.google.com/p/v8/source/detail?r=8802

Modified:
 /branches/bleeding_edge/src/mips/full-codegen-mips.cc

=======================================
--- /branches/bleeding_edge/src/mips/full-codegen-mips.cc Wed Jul 13 02:09:04 2011 +++ /branches/bleeding_edge/src/mips/full-codegen-mips.cc Wed Aug 3 03:11:09 2011
@@ -2761,7 +2761,7 @@

   // Objects with a non-function constructor have class 'Object'.
   __ bind(&non_function_constructor);
-  __ LoadRoot(v0, Heap::kfunction_class_symbolRootIndex);
+  __ LoadRoot(v0, Heap::kObject_symbolRootIndex);
   __ jmp(&done);

   // Non-JS objects have class null.

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

Reply via email to