Skip to content
forked from v8/v8

Commit

Permalink
[M108-LTS] Fix backmerge 19e4f18
Browse files Browse the repository at this point in the history
Bug: chromium:1459371
Change-Id: I1cd6ea69cd7e182ac8a650449f54bf5328e94154
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4660037
Auto-Submit: Toon Verwaest <[email protected]>
Commit-Queue: Leszek Swirski <[email protected]>
Reviewed-by: Leszek Swirski <[email protected]>
Cr-Commit-Position: refs/branch-heads/10.8@{v8#74}
Cr-Branched-From: f1bc03f-refs/heads/10.8.168@{#1}
Cr-Branched-From: 237de89-refs/heads/main@{#83672}
  • Loading branch information
verwaest authored and V8 LUCI CQ committed Jun 30, 2023
1 parent ae2e66e commit a0838fc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/baseline/baseline-compiler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -605,12 +605,11 @@ void BaselineCompiler::UpdateInterruptBudgetAndJumpToLabel(

if (weight < 0) {
SaveAccumulatorScope accumulator_scope(&basm_);
CallRuntime(Runtime::kBytecodeBudgetInterruptWithStackCheck_Sparkplug,
__ FunctionOperand());
CallRuntime(stack_check_behavior == kEnableStackCheck
? Runtime::kBytecodeBudgetInterruptWithStackCheck_Sparkplug
: Runtime::kBytecodeBudgetInterrupt_Sparkplug,
__ FunctionOperand());
CallRuntime(
stack_check_behavior == kEnableStackCheck
? Runtime::kBytecodeBudgetInterruptWithStackCheck_Sparkplug
: Runtime::kBytecodeBudgetInterrupt_Sparkplug,
__ FunctionOperand());
}
}
if (label) __ Jump(label);
Expand All @@ -619,7 +618,8 @@ void BaselineCompiler::UpdateInterruptBudgetAndJumpToLabel(
void BaselineCompiler::UpdateInterruptBudgetAndDoInterpreterJump() {
int weight = iterator().GetRelativeJumpTargetOffset() -
iterator().current_bytecode_size_without_prefix();
UpdateInterruptBudgetAndJumpToLabel(weight, BuildForwardJumpLabel(), nullptr, kEnableStackCheck);
UpdateInterruptBudgetAndJumpToLabel(weight, BuildForwardJumpLabel(), nullptr,
kEnableStackCheck);
}

void BaselineCompiler::UpdateInterruptBudgetAndDoInterpreterJumpIfRoot(
Expand Down

0 comments on commit a0838fc

Please sign in to comment.