From fcca2eaf1fb1508a380580f13defdadc54f0678d Mon Sep 17 00:00:00 2001 From: Tobias Tebbi Date: Mon, 13 Jun 2022 07:43:02 +0000 Subject: [PATCH] [turboshaft] workaround for bug in GCC 7 (again) Bug: v8:12783 Change-Id: I2d02b4466edb1da48512b1f2d2bc14f6d5cb8dc0 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3701596 Reviewed-by: Andreas Haas Auto-Submit: Tobias Tebbi Commit-Queue: Andreas Haas Cr-Commit-Position: refs/heads/main@{#81094} --- src/compiler/turboshaft/graph-builder.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/compiler/turboshaft/graph-builder.cc b/src/compiler/turboshaft/graph-builder.cc index 0de7af5a5f..c4ad5b0676 100644 --- a/src/compiler/turboshaft/graph-builder.cc +++ b/src/compiler/turboshaft/graph-builder.cc @@ -993,9 +993,9 @@ OpIndex GraphBuilder::Process( base::Optional BuildGraph( Schedule* schedule, Zone* graph_zone, Zone* phase_zone, Graph* graph, SourcePositionTable* source_positions) { - return GraphBuilder{graph_zone, phase_zone, *schedule, - Assembler(graph, phase_zone), source_positions} - .Run(); + GraphBuilder builder{graph_zone, phase_zone, *schedule, + Assembler(graph, phase_zone), source_positions}; + return builder.Run(); } } // namespace v8::internal::compiler::turboshaft