Index: src/ic.cc |
diff --git a/src/ic.cc b/src/ic.cc |
index ea0c1fbbe1d70438ee2983ee0d682ef5d3700f24..e70d2cb3ba8da329310856ec827e0540747722b6 100644 |
--- a/src/ic.cc |
+++ b/src/ic.cc |
@@ -2928,7 +2928,9 @@ MaybeObject* CompareNilIC::CompareNil(Handle<Object> object) { |
// types must be supported as a result of the miss. |
bool already_monomorphic = stub.IsMonomorphic(); |
+ CompareNilICStub::Types old_types = stub.GetTypes(); |
stub.Record(object); |
+ old_types.TraceTransition(stub.GetTypes()); |
EqualityKind kind = stub.GetKind(); |
NilValue nil = stub.GetNilValue(); |