Commit c5c5b6cb authored by Toon Verwaest's avatar Toon Verwaest Committed by V8 LUCI CQ

[cleanup] Resolve -Wshadow warnings in bytecode-offset-iterator.cc

Bug: v8:12244, v8:12245
Change-Id: I7d9e8c1a8eda63d1e6c66d92d4ed39daad02df44
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3181522
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Commit-Queue: Patrick Thier <pthier@chromium.org>
Auto-Submit: Toon Verwaest <verwaest@chromium.org>
Reviewed-by: 's avatarPatrick Thier <pthier@chromium.org>
Cr-Commit-Position: refs/heads/main@{#77035}
parent e46d1898
...@@ -36,7 +36,7 @@ BytecodeOffsetIterator::BytecodeOffsetIterator(ByteArray mapping_table, ...@@ -36,7 +36,7 @@ BytecodeOffsetIterator::BytecodeOffsetIterator(ByteArray mapping_table,
bytecode_iterator_(Handle<BytecodeArray>( bytecode_iterator_(Handle<BytecodeArray>(
reinterpret_cast<Address*>(&bytecode_handle_storage_))), reinterpret_cast<Address*>(&bytecode_handle_storage_))),
local_heap_(nullptr) { local_heap_(nullptr) {
no_gc.emplace(); no_gc_.emplace();
Initialize(); Initialize();
} }
......
...@@ -88,7 +88,7 @@ class V8_EXPORT_PRIVATE BytecodeOffsetIterator { ...@@ -88,7 +88,7 @@ class V8_EXPORT_PRIVATE BytecodeOffsetIterator {
BytecodeArray bytecode_handle_storage_; BytecodeArray bytecode_handle_storage_;
interpreter::BytecodeArrayIterator bytecode_iterator_; interpreter::BytecodeArrayIterator bytecode_iterator_;
LocalHeap* local_heap_; LocalHeap* local_heap_;
base::Optional<DisallowGarbageCollection> no_gc; base::Optional<DisallowGarbageCollection> no_gc_;
}; };
} // namespace baseline } // namespace baseline
......
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