MIPS: port Fix ClassOf check on ARM.
Ported r8713 (6bdadc4) BUG= TEST= Review URL: http://codereview.chromium.org/7564003 Patch from Paul Lind <plind44@gmail.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8802 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
efb7c67a2c
commit
76ede3e063
@ -2761,7 +2761,7 @@ void FullCodeGenerator::EmitClassOf(ZoneList<Expression*>* 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.
|
||||
|
Loading…
Reference in New Issue
Block a user