Index: src/x87/macro-assembler-x87.cc |
diff --git a/src/x87/macro-assembler-x87.cc b/src/x87/macro-assembler-x87.cc |
index e9d075d2da8692fc469ae24c81e90d6cb8c70a7e..d2b1742623195775e182b76cfa1ead3ffde8f462 100644 |
--- a/src/x87/macro-assembler-x87.cc |
+++ b/src/x87/macro-assembler-x87.cc |
@@ -665,26 +665,6 @@ Condition MacroAssembler::IsObjectNameType(Register heap_object, |
} |
-void MacroAssembler::IsObjectJSObjectType(Register heap_object, |
- Register map, |
- Register scratch, |
- Label* fail) { |
- mov(map, FieldOperand(heap_object, HeapObject::kMapOffset)); |
- IsInstanceJSObjectType(map, scratch, fail); |
-} |
- |
- |
-void MacroAssembler::IsInstanceJSObjectType(Register map, |
- Register scratch, |
- Label* fail) { |
- movzx_b(scratch, FieldOperand(map, Map::kInstanceTypeOffset)); |
- sub(scratch, Immediate(FIRST_NONCALLABLE_SPEC_OBJECT_TYPE)); |
- cmp(scratch, |
- LAST_NONCALLABLE_SPEC_OBJECT_TYPE - FIRST_NONCALLABLE_SPEC_OBJECT_TYPE); |
- j(above, fail); |
-} |
- |
- |
void MacroAssembler::FCmp() { |
fucompp(); |
push(eax); |
@@ -1750,9 +1730,9 @@ void MacroAssembler::GetMapConstructor(Register result, Register map, |
Label done, loop; |
mov(result, FieldOperand(map, Map::kConstructorOrBackPointerOffset)); |
bind(&loop); |
- JumpIfSmi(result, &done); |
+ JumpIfSmi(result, &done, Label::kNear); |
CmpObjectType(result, MAP_TYPE, temp); |
- j(not_equal, &done); |
+ j(not_equal, &done, Label::kNear); |
mov(result, FieldOperand(result, Map::kConstructorOrBackPointerOffset)); |
jmp(&loop); |
bind(&done); |