Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 075f07cc353e991fd7969a49725599cb5fcfd45b..9cfb5d4c021248227a35111729272c281f4fe324 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -3016,9 +3016,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); |
} |
@@ -3031,10 +3029,8 @@ void MacroAssembler::CheckMap(Register obj, |
JumpIfSmi(obj, fail); |
} |
- Label success; |
- CompareMap(obj, map, &success); |
+ CompareMap(obj, map); |
j(not_equal, fail); |
- bind(&success); |
} |