Commit 4f2cb418 authored by Mike Stanton's avatar Mike Stanton Committed by Commit Bot

[Turbofan] Cleanup: move SerializerForBackgroundCompilation to .cc

It's sufficient to expose a run function and flags.

Bug: v8:7790
Change-Id: I956a545ddce9e469e6a6196a4b63d9e3a119526d
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1706469
Commit-Queue: Michael Stanton <mvstanton@chromium.org>
Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
Reviewed-by: 's avatarMaya Lekova <mslekova@chromium.org>
Cr-Commit-Position: refs/heads/master@{#62774}
parent 3fabb6d9
......@@ -1367,10 +1367,9 @@ struct SerializationPhase {
flags |=
SerializerForBackgroundCompilationFlag::kAnalyzeEnvironmentLiveness;
}
SerializerForBackgroundCompilation serializer(
data->broker(), data->dependencies(), temp_zone,
data->info()->closure(), flags, data->info()->osr_offset());
serializer.Run();
RunSerializerForBackgroundCompilation(data->broker(), data->dependencies(),
temp_zone, data->info()->closure(),
flags, data->info()->osr_offset());
}
};
......
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