MIPS: Fix AssertName() in MacroAssembler.

This commit fixes several debug mode test failures.

BUG=mjsunit/keyed-call-generic,mjsunit/keyed-call-ic

Review URL: https://codereview.chromium.org/12693012

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13943 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
palfia@homejinni.com 2013-03-14 10:59:58 +00:00
parent 04d8eb8244
commit b71352b0a0

View File

@ -4914,8 +4914,8 @@ void MacroAssembler::AssertName(Register object) {
push(object);
lw(object, FieldMemOperand(object, HeapObject::kMapOffset));
lbu(object, FieldMemOperand(object, Map::kInstanceTypeOffset));
pop(object);
Check(le, "Operand is not a name", object, Operand(LAST_NAME_TYPE));
pop(object);
}
}