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

[runtime] fix gcc compilation error

This fixes the `unused variable` error in release builds
with gcc.

Change-Id: I637dac3968e768960035960b846b2783f92571d2
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3421511Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
Commit-Queue: Igor Sheludko <ishell@chromium.org>
Cr-Commit-Position: refs/heads/main@{#78822}
parent 51c62b3c
......@@ -278,6 +278,7 @@ Handle<ScopeInfo> ScopeInfo::Create(IsolateT* isolate, Zone* zone, Scope* scope,
} else {
Handle<NameToIndexHashTable> new_table = NameToIndexHashTable::Add(
isolate, local_names_hashtable, var->name(), local_index);
USE(new_table);
DCHECK_EQ(*new_table, *local_names_hashtable);
}
scope_info.set(context_local_info_base + local_index,
......
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