Skip to content

Commit

Permalink
[vm] Fix build on gcc 14.2.0.
Browse files Browse the repository at this point in the history
TEST=local build
Bug: #59617
Change-Id: I4be6ceb489542cee6754a23efdf15401ec91a62b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/397983
Reviewed-by: Alexander Aprelev <[email protected]>
Commit-Queue: Ryan Macnak <[email protected]>
  • Loading branch information
rmacnak-google authored and Commit Queue committed Dec 2, 2024
1 parent 91c05b2 commit 0f723b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/vm/compiler/backend/inliner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1232,7 +1232,7 @@ class CallSiteInliner : public ValueObject {
constant_arg_count == 0 ? function.optimized_instruction_count() : 0;
const intptr_t call_site_count =
constant_arg_count == 0 ? function.optimized_call_site_count() : 0;
InliningDecision decision =
volatile InliningDecision decision =
ShouldWeInline(function, instruction_count, call_site_count);
if (!decision.value) {
TRACE_INLINING(
Expand Down

0 comments on commit 0f723b3

Please sign in to comment.