[vm] Fix build

Fix the build failure after revert landed on top of
ReturnInstr -> DartReturnInstr rename.

TEST=local build

Change-Id: Ic0c7208485b9b3d1e6525cb8f31e3113765fd317
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/359843
Commit-Queue: Siva Annamalai <asiva@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
Auto-Submit: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
This commit is contained in:
Alexander Markov 2024-03-26 14:38:51 +00:00
parent 28258e54fd
commit 3545100e32

View file

@ -2183,8 +2183,8 @@ bool PolymorphicInliner::TryInlineRecognizedMethod(intptr_t receiver_cid,
redefinition->InsertAfter(entry);
InlineExitCollector* exit_collector =
new (Z) InlineExitCollector(owner_->caller_graph(), call_);
ReturnInstr* return_result = new (Z)
ReturnInstr(call_->source(), new (Z) Value(result), DeoptId::kNone);
DartReturnInstr* return_result = new (Z)
DartReturnInstr(call_->source(), new (Z) Value(result), DeoptId::kNone);
owner_->caller_graph()->AppendTo(
last, return_result,
call_->env(), // Return can become deoptimization target.