Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index a92604ecbf0e37040c0e526f1302bd655e6e2f82..d87dcb29f543017f6e128cca9d9fa5381b670e2f 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -5302,25 +5302,6 @@ void LCodeGen::DoClampTToUint8(LClampTToUint8* instr) { |
} |
-void LCodeGen::DoCheckPrototypeMaps(LCheckPrototypeMaps* instr) { |
- if (instr->hydrogen()->CanOmitPrototypeChecks()) return; |
- |
- Register prototype_reg = ToRegister(instr->temp()); |
- Register map_reg = ToRegister(instr->temp2()); |
- |
- ZoneList<Handle<JSObject> >* prototypes = instr->prototypes(); |
- ZoneList<Handle<Map> >* maps = instr->maps(); |
- |
- ASSERT(prototypes->length() == maps->length()); |
- |
- for (int i = 0; i < prototypes->length(); i++) { |
- __ LoadHeapObject(prototype_reg, prototypes->at(i)); |
- __ ldr(map_reg, FieldMemOperand(prototype_reg, HeapObject::kMapOffset)); |
- DoCheckMapCommon(map_reg, maps->at(i), instr->environment()); |
- } |
-} |
- |
- |
void LCodeGen::DoAllocate(LAllocate* instr) { |
class DeferredAllocate: public LDeferredCode { |
public: |