From 76ede3e063afe08907a3e64773723f718a75f150 Mon Sep 17 00:00:00 2001 From: "danno@chromium.org" Date: Wed, 3 Aug 2011 10:11:09 +0000 Subject: [PATCH] MIPS: port Fix ClassOf check on ARM. Ported r8713 (6bdadc4) BUG= TEST= Review URL: http://codereview.chromium.org/7564003 Patch from Paul Lind . git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8802 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/mips/full-codegen-mips.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc index 3f5ea7b91..4943a03a1 100644 --- a/src/mips/full-codegen-mips.cc +++ b/src/mips/full-codegen-mips.cc @@ -2761,7 +2761,7 @@ void FullCodeGenerator::EmitClassOf(ZoneList* args) { // 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. -- 2.34.1