Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 04e26bb1a3c824a372d2a9c9dd73aacfab23f421..e3cfbe43bb081ec80e74dc4391385c6a2adbea99 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -2016,19 +2016,6 @@ LInstruction* LChunkBuilder::DoCheckInstanceType(HCheckInstanceType* instr) { |
} |
-LInstruction* LChunkBuilder::DoCheckPrototypeMaps(HCheckPrototypeMaps* instr) { |
- LUnallocated* temp1 = NULL; |
- LOperand* temp2 = NULL; |
- if (!instr->CanOmitPrototypeChecks()) { |
- temp1 = TempRegister(); |
- temp2 = TempRegister(); |
- } |
- LCheckPrototypeMaps* result = new(zone()) LCheckPrototypeMaps(temp1, temp2); |
- if (instr->CanOmitPrototypeChecks()) return result; |
- return AssignEnvironment(result); |
-} |
- |
- |
LInstruction* LChunkBuilder::DoCheckFunction(HCheckFunction* instr) { |
LOperand* value = UseRegisterAtStart(instr->value()); |
return AssignEnvironment(new(zone()) LCheckFunction(value)); |