s390x: [baseline] fix interrupt budge handling
Change-Id: If34e7927b8d243a22cbcc0e717541c237993ef4e Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3470563 Reviewed-by: Milad Farazmand <mfarazma@redhat.com> Commit-Queue: Junliang Yan <junyan@redhat.com> Cr-Commit-Position: refs/heads/main@{#79145}
This commit is contained in:
parent
53ed0530cd
commit
f146851da5
@ -476,7 +476,7 @@ void BaselineAssembler::AddToInterruptBudgetAndJumpIfNotExceeded(
|
||||
interrupt_budget,
|
||||
FieldMemOperand(feedback_cell, FeedbackCell::kInterruptBudgetOffset));
|
||||
// Remember to set flags as part of the add!
|
||||
__ AddU32(interrupt_budget, Operand(weight));
|
||||
__ AddS32(interrupt_budget, Operand(weight));
|
||||
__ StoreU32(
|
||||
interrupt_budget,
|
||||
FieldMemOperand(feedback_cell, FeedbackCell::kInterruptBudgetOffset), r0);
|
||||
@ -501,7 +501,7 @@ void BaselineAssembler::AddToInterruptBudgetAndJumpIfNotExceeded(
|
||||
interrupt_budget,
|
||||
FieldMemOperand(feedback_cell, FeedbackCell::kInterruptBudgetOffset));
|
||||
// Remember to set flags as part of the add!
|
||||
__ AddU32(interrupt_budget, interrupt_budget, weight);
|
||||
__ AddS32(interrupt_budget, interrupt_budget, weight);
|
||||
__ StoreU32(
|
||||
interrupt_budget,
|
||||
FieldMemOperand(feedback_cell, FeedbackCell::kInterruptBudgetOffset));
|
||||
|
Loading…
Reference in New Issue
Block a user