Commit e49f00d4 authored by Milad Fa's avatar Milad Fa Committed by V8 LUCI CQ

Fix compilation error with gcc

Fix for the following minor issue:
```
error: variable 'first_output_index' set but not used
```

Change-Id: Iccc5e15db62a5768ba6f3742f3c4d7123f493c65
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3652093Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#80620}
parent 09c1012b
......@@ -149,6 +149,7 @@ struct OptimizationPhase<Analyzer, Assembler>::Impl {
const Operation& op = *it;
OpIndex index = it.Index();
OpIndex first_output_index = assembler.graph().next_operation_index();
USE(first_output_index);
if constexpr (trace_reduction) TraceReductionStart(index);
if (!analyzer.OpIsUsed(index)) {
if constexpr (trace_reduction) TraceOperationUnused();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment