Commit 29d8a4ee authored by Shu-yu Guo's avatar Shu-yu Guo Committed by V8 LUCI CQ

[heap] Remove unused variable

Change-Id: I6e1cb91cb0573c64d22ae8de92e950152a8c37b0
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3218194Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
Commit-Queue: Shu-yu Guo <syg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#77329}
parent d65e5e23
......@@ -1438,11 +1438,9 @@ class EvacuateVisitorBase : public HeapObjectVisitor {
: heap_(heap),
local_allocator_(local_allocator),
record_visitor_(record_visitor) {
if (FLAG_shared_string_table) {
if (Isolate* shared_isolate = heap->isolate()->shared_isolate()) {
shared_string_table_ = true;
shared_old_allocator_ = heap_->shared_old_allocator_.get();
}
if (FLAG_shared_string_table && heap->isolate()->shared_isolate()) {
shared_string_table_ = true;
shared_old_allocator_ = heap_->shared_old_allocator_.get();
}
migration_function_ = RawMigrateObject<MigrationMode::kFast>;
}
......
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