Fix poliarty of CheckMap smi check on ia32
R=karlklose@chromium.org BUG=none TEST=existing tests Review URL: http://codereview.chromium.org/7067018 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8025 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
a3853feed2
commit
59a7ce37a6
@ -283,7 +283,7 @@ void MacroAssembler::CheckMap(Register obj,
|
||||
Handle<Map> map,
|
||||
Label* fail,
|
||||
SmiCheckType smi_check_type) {
|
||||
if (smi_check_type == DONT_DO_SMI_CHECK) {
|
||||
if (smi_check_type == DO_SMI_CHECK) {
|
||||
JumpIfSmi(obj, fail);
|
||||
}
|
||||
cmp(FieldOperand(obj, HeapObject::kMapOffset), Immediate(map));
|
||||
|
Loading…
Reference in New Issue
Block a user