Version 3.5.3
MIPS: Port of fix to ClassOf check from ARM.
Patch from Paul Lind <plind44@gmail.com>.
Stopped using mprotect on Cygwin.
Avoided uninitialized member warning on gcc 4.3.4
Both patches by Bert Belder.
Bug fixes and performance improvements on all platforms.
Review URL: http://codereview.chromium.org/7565005
git-svn-id: http://v8.googlecode.com/svn/trunk@8812 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc
index 3f5ea7b..4943a03 100644
--- a/src/mips/full-codegen-mips.cc
+++ b/src/mips/full-codegen-mips.cc
@@ -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.