Index: src/ic/ic-compiler.cc |
diff --git a/src/ic/ic-compiler.cc b/src/ic/ic-compiler.cc |
index ddbab7725b36203fe1e7cc0a85b68c4561500cb0..9f1d87ac617247a7a63cde08804ba119b68f1035 100644 |
--- a/src/ic/ic-compiler.cc |
+++ b/src/ic/ic-compiler.cc |
@@ -132,29 +132,6 @@ Handle<Code> PropertyICCompiler::ComputeStore(Isolate* isolate, |
} |
-Handle<Code> PropertyICCompiler::ComputeCompareNil(Handle<Map> receiver_map, |
- CompareNilICStub* stub) { |
- Isolate* isolate = receiver_map->GetIsolate(); |
- Handle<String> name(isolate->heap()->empty_string()); |
- if (!receiver_map->is_dictionary_map()) { |
- Handle<Code> cached_ic = |
- Find(name, receiver_map, Code::COMPARE_NIL_IC, stub->GetExtraICState()); |
- if (!cached_ic.is_null()) return cached_ic; |
- } |
- |
- Code::FindAndReplacePattern pattern; |
- Handle<WeakCell> cell = Map::WeakCellForMap(receiver_map); |
- pattern.Add(isolate->factory()->meta_map(), cell); |
- Handle<Code> ic = stub->GetCodeCopy(pattern); |
- |
- if (!receiver_map->is_dictionary_map()) { |
- Map::UpdateCodeCache(receiver_map, name, ic); |
- } |
- |
- return ic; |
-} |
- |
- |
void PropertyICCompiler::ComputeKeyedStorePolymorphicHandlers( |
MapHandleList* receiver_maps, MapHandleList* transitioned_maps, |
CodeHandleList* handlers, KeyedAccessStoreMode store_mode, |