Revert "[ic] Fix typo in Runtime_CloneObjectIC_Miss."
This reverts commit 823795fc2b
.
Reason for revert: Breaks mjsunit/es9/regress/regress-904167 on bots (https://ci.chromium.org/p/v8/builders/ci/V8%20Linux%20-%20debug/26342)
Original change's description:
> [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}
TBR=bmeurer@chromium.org,verwaest@chromium.org
Change-Id: Ie651523c556b220e57ec5e11e37b0a67936bb291
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: chromium:973045, v8:7611, v8:9114, v8:9183, v8:9343
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1655299
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/master@{#62110}
This commit is contained in:
parent
ea4206556e
commit
510f4f2c12
@ -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