Commit 601bddc2 authored by Pierre Langlois's avatar Pierre Langlois Committed by Commit Bot

[codegen] Remove unused argument in AssemblerOptions::Default().

Change-Id: I1cdd6e7f761d7fa75fd4ca5331ca2475a4384c30
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1985988
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65591}
parent 7e459b0f
......@@ -49,11 +49,9 @@
namespace v8 {
namespace internal {
AssemblerOptions AssemblerOptions::Default(
Isolate* isolate, bool explicitly_support_serialization) {
AssemblerOptions AssemblerOptions::Default(Isolate* isolate) {
AssemblerOptions options;
const bool serializer =
isolate->serializer_enabled() || explicitly_support_serialization;
const bool serializer = isolate->serializer_enabled();
const bool generating_embedded_builtin =
isolate->IsGeneratingEmbeddedBuiltins();
options.record_reloc_info_for_serialization = serializer;
......
......@@ -175,8 +175,7 @@ struct V8_EXPORT_PRIVATE AssemblerOptions {
// on a function prologue/epilogue.
bool collect_win64_unwind_info = false;
static AssemblerOptions Default(
Isolate* isolate, bool explicitly_support_serialization = false);
static AssemblerOptions Default(Isolate* isolate);
};
class AssemblerBuffer {
......
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