Commit 784c5702 authored by Junliang Yan's avatar Junliang Yan Committed by Commit Bot

[runtime] fix gcc complain on Werror=parentheses

Bug: v8:11675
Change-Id: I8046e61d92b502a8c96f11e3ecfc528544c6ba97
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2843953
Commit-Queue: Georg Neis <neis@chromium.org>
Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#74114}
parent b30fa8a7
......@@ -1032,8 +1032,8 @@ void LookupIterator::WriteDataValue(Handle<Object> value,
JSGlobalObject::cast(*holder).global_dictionary(isolate_, kAcquireLoad);
PropertyCell cell = dictionary.CellAt(isolate_, dictionary_entry());
DCHECK(cell.value() == *value ||
cell.value().IsString() && value->IsString() &&
String::cast(cell.value()).Equals(String::cast(*value)));
(cell.value().IsString() && value->IsString() &&
String::cast(cell.value()).Equals(String::cast(*value))));
#endif // DEBUG
} else {
DCHECK_IMPLIES(holder->IsJSProxy(isolate_), name()->IsPrivate(isolate_));
......
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