[ic] Fix typo in Runtime_CloneObjectIC_Miss.
https://chromium-review.googlesource.com/1649554 introduced a typo into Runtime_CloneObjectIC_Miss, where it wouldn't update the IC state UNLESS the source map is deprecated, which is the wrong way around of course. Bug: chromium:973045, v8:7611, v8:9114, v8:9183, v8:9343 Change-Id: I7d6e0709e66ce4aaaf4a628d64ab801b84c8993c Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1655291 Auto-Submit: Benedikt Meurer <bmeurer@chromium.org> Commit-Queue: Toon Verwaest <verwaest@chromium.org> Reviewed-by: Toon Verwaest <verwaest@chromium.org> Cr-Commit-Position: refs/heads/master@{#62106}
This commit is contained in:
parent
1945392a4e
commit
823795fc2b
@ -2603,7 +2603,7 @@ RUNTIME_FUNCTION(Runtime_CloneObjectIC_Miss) {
|
||||
Handle<Object> source = args.at<Object>(0);
|
||||
int flags = args.smi_at(1);
|
||||
|
||||
if (MigrateDeprecated(isolate, source)) {
|
||||
if (!MigrateDeprecated(isolate, source)) {
|
||||
FeedbackSlot slot = FeedbackVector::ToSlot(args.smi_at(2));
|
||||
Handle<HeapObject> maybe_vector = args.at<HeapObject>(3);
|
||||
if (maybe_vector->IsFeedbackVector()) {
|
||||
|
Loading…
Reference in New Issue
Block a user