Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index ed69fd07686f8d1df9287782fc9f40459744a420..b2ff14a00264570cb5ed4a2ea84769f69c34e3b1 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -866,9 +866,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); |
} |
@@ -881,10 +879,8 @@ void MacroAssembler::CheckMap(Register obj, |
JumpIfSmi(obj, fail); |
} |
- Label success; |
- CompareMap(obj, map, &success); |
+ CompareMap(obj, map); |
j(not_equal, fail); |
- bind(&success); |
} |