From 4b2d08c0f78b87c2e420a3fcabb779efe7b0f1e7 Mon Sep 17 00:00:00 2001 From: Goktug Gokdogan Date: Tue, 12 Nov 2024 09:41:30 -0800 Subject: [PATCH] Remove --use_size_heuristic_to_stop_optimization_loop_experimental flag from jsinterop_base tests. Seems like the flag is no longer needed. PiperOrigin-RevId: 695768746 --- javatests/jsinterop/base/BUILD | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/javatests/jsinterop/base/BUILD b/javatests/jsinterop/base/BUILD index 80428fc..e2364b1 100644 --- a/javatests/jsinterop/base/BUILD +++ b/javatests/jsinterop/base/BUILD @@ -47,14 +47,7 @@ j2cl_test( j2cl_test( name = "AllJ2clOptimizationTests", compile = 1, - extra_defs = [ - "--define=jre.checkedMode=DISABLED", - # JsCompiler heuristics are fragile for verifying optimizability of this code. Right now - # we are just hoping our code is *too small* and that's why we are hitting issues. - # Ideally we should use the defaults but if the heuristic turns out to be bad for users - # they should talk to JsCompiler team and maybe we could remove this flag again. - "--use_size_heuristic_to_stop_optimization_loop_experimental=false", - ], + extra_defs = ["--define=jre.checkedMode=DISABLED"], test_class = "jsinterop.base.AllOptimizationTests", runtime_deps = [":testlib"], )