diff --git a/Ladybird/Qt/main.cpp b/Ladybird/Qt/main.cpp index c75f03a86f..45384f24d6 100644 --- a/Ladybird/Qt/main.cpp +++ b/Ladybird/Qt/main.cpp @@ -77,7 +77,6 @@ ErrorOr serenity_main(Main::Arguments arguments) StringView webdriver_content_ipc_path; bool enable_callgrind_profiling = false; bool enable_sql_database = false; - bool use_ast_interpreter = false; bool use_lagom_networking = false; Core::ArgsParser args_parser; @@ -86,7 +85,6 @@ ErrorOr serenity_main(Main::Arguments arguments) args_parser.add_option(webdriver_content_ipc_path, "Path to WebDriver IPC for WebContent", "webdriver-content-path", 0, "path"); args_parser.add_option(enable_callgrind_profiling, "Enable Callgrind profiling", "enable-callgrind-profiling", 'P'); args_parser.add_option(enable_sql_database, "Enable SQL database", "enable-sql-database", 0); - args_parser.add_option(use_ast_interpreter, "Enable JavaScript AST interpreter (deprecated)", "ast", 0); args_parser.add_option(use_lagom_networking, "Enable Lagom servers for networking", "enable-lagom-networking", 0); args_parser.parse(arguments); @@ -110,7 +108,7 @@ ErrorOr serenity_main(Main::Arguments arguments) auto cookie_jar = database ? TRY(Browser::CookieJar::create(*database)) : Browser::CookieJar::create(); Ladybird::s_settings = adopt_own_if_nonnull(new Ladybird::Settings()); - Ladybird::BrowserWindow window(cookie_jar, webdriver_content_ipc_path, enable_callgrind_profiling ? WebView::EnableCallgrindProfiling::Yes : WebView::EnableCallgrindProfiling::No, use_ast_interpreter ? WebView::UseJavaScriptBytecode::No : WebView::UseJavaScriptBytecode::Yes, use_lagom_networking ? Ladybird::UseLagomNetworking::Yes : Ladybird::UseLagomNetworking::No); + Ladybird::BrowserWindow window(cookie_jar, webdriver_content_ipc_path, enable_callgrind_profiling ? WebView::EnableCallgrindProfiling::Yes : WebView::EnableCallgrindProfiling::No, WebView::UseJavaScriptBytecode::Yes, use_lagom_networking ? Ladybird::UseLagomNetworking::Yes : Ladybird::UseLagomNetworking::No); window.setWindowTitle("Ladybird"); window.resize(800, 600); window.show();