diff --git a/src/ic/ic.cc b/src/ic/ic.cc index 1d026a8e57..c54994bfea 100644 --- a/src/ic/ic.cc +++ b/src/ic/ic.cc @@ -2603,7 +2603,7 @@ RUNTIME_FUNCTION(Runtime_CloneObjectIC_Miss) { Handle source = args.at(0); int flags = args.smi_at(1); - if (!MigrateDeprecated(isolate, source)) { + if (MigrateDeprecated(isolate, source)) { FeedbackSlot slot = FeedbackVector::ToSlot(args.smi_at(2)); Handle maybe_vector = args.at(3); if (maybe_vector->IsFeedbackVector()) {