Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 7bb3535ff11b8e64c6da390e5a209edacac480e1..02fac88c8ba9216cd4b9163b3140610fe641380c 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -5541,7 +5541,6 @@ void LCodeGen::DoClampTToUint8(LClampTToUint8* instr) { |
void LCodeGen::DoCheckPrototypeMaps(LCheckPrototypeMaps* instr) { |
- ASSERT(instr->temp()->Equals(instr->result())); |
Register prototype_reg = ToRegister(instr->temp()); |
Register map_reg = ToRegister(instr->temp2()); |
@@ -5554,8 +5553,6 @@ void LCodeGen::DoCheckPrototypeMaps(LCheckPrototypeMaps* instr) { |
for (int i = 0; i < maps->length(); i++) { |
prototype_maps_.Add(maps->at(i), info()->zone()); |
} |
- __ LoadHeapObject(prototype_reg, |
- prototypes->at(prototypes->length() - 1)); |
} else { |
for (int i = 0; i < prototypes->length(); i++) { |
__ LoadHeapObject(prototype_reg, prototypes->at(i)); |