Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index a8a691ed5daf7b25279112f7aaa25a259d9b841f..40d82e70a935b55c05504c63a55215f5fc008a35 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -5041,22 +5041,6 @@ void LCodeGen::DoClampTToUint8(LClampTToUint8* instr) { |
} |
-void LCodeGen::DoCheckPrototypeMaps(LCheckPrototypeMaps* instr) { |
- if (instr->hydrogen()->CanOmitPrototypeChecks()) return; |
- Register reg = ToRegister(instr->temp()); |
- |
- 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(reg, prototypes->at(i)); |
- DoCheckMapCommon(reg, maps->at(i), instr); |
- } |
-} |
- |
- |
void LCodeGen::DoAllocate(LAllocate* instr) { |
class DeferredAllocate: public LDeferredCode { |
public: |