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