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 @@ ...@@ -49,11 +49,9 @@
namespace v8 { namespace v8 {
namespace internal { namespace internal {
AssemblerOptions AssemblerOptions::Default( AssemblerOptions AssemblerOptions::Default(Isolate* isolate) {
Isolate* isolate, bool explicitly_support_serialization) {
AssemblerOptions options; AssemblerOptions options;
const bool serializer = const bool serializer = isolate->serializer_enabled();
isolate->serializer_enabled() || explicitly_support_serialization;
const bool generating_embedded_builtin = const bool generating_embedded_builtin =
isolate->IsGeneratingEmbeddedBuiltins(); isolate->IsGeneratingEmbeddedBuiltins();
options.record_reloc_info_for_serialization = serializer; options.record_reloc_info_for_serialization = serializer;
......
...@@ -175,8 +175,7 @@ struct V8_EXPORT_PRIVATE AssemblerOptions { ...@@ -175,8 +175,7 @@ struct V8_EXPORT_PRIVATE AssemblerOptions {
// on a function prologue/epilogue. // on a function prologue/epilogue.
bool collect_win64_unwind_info = false; bool collect_win64_unwind_info = false;
static AssemblerOptions Default( static AssemblerOptions Default(Isolate* isolate);
Isolate* isolate, bool explicitly_support_serialization = false);
}; };
class AssemblerBuffer { 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