Index: src/ic.cc |
diff --git a/src/ic.cc b/src/ic.cc |
index 09813e9e4bfd4f9ead72a73bd66b4eba530fcf1d..0040b1d352f2ac1a43c92a1f1f55c67dd283a50d 100644 |
--- a/src/ic.cc |
+++ b/src/ic.cc |
@@ -2960,7 +2960,7 @@ Handle<Object> CompareNilIC::CompareNil(Handle<Object> object) { |
Handle<Map> monomorphic_map(already_monomorphic && FirstTargetMap() != NULL |
? FirstTargetMap() |
: HeapObject::cast(*object)->map()); |
- code = isolate()->stub_cache()->ComputeCompareNil(monomorphic_map, stub); |
+ code = isolate()->stub_cache()->ComputeCompareNil(monomorphic_map, &stub); |
} else { |
code = stub.GetCode(); |
} |