Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 9ffc4516dd6fcf0a357114213523e3a4e380ca07..c8d67b76569a590583372a97f1aeb4ae94d5e568 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -3035,9 +3035,7 @@ void MacroAssembler::StoreNumberToDoubleElements( |
} |
-void MacroAssembler::CompareMap(Register obj, |
- Handle<Map> map, |
- Label* early_success) { |
+void MacroAssembler::CompareMap(Register obj, Handle<Map> map) { |
Cmp(FieldOperand(obj, HeapObject::kMapOffset), map); |
} |
@@ -3050,10 +3048,8 @@ void MacroAssembler::CheckMap(Register obj, |
JumpIfSmi(obj, fail); |
} |
- Label success; |
- CompareMap(obj, map, &success); |
+ CompareMap(obj, map); |
j(not_equal, fail); |
- bind(&success); |
} |