Skip to content

Commit

Permalink
Remove --use_size_heuristic_to_stop_optimization_loop_experimental fl…
Browse files Browse the repository at this point in the history
…ag from jsinterop_base tests.

Seems like the flag is no longer needed.

PiperOrigin-RevId: 695768746
  • Loading branch information
gkdn authored and copybara-github committed Nov 12, 2024
1 parent 92d499b commit 4b2d08c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions javatests/jsinterop/base/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
)

0 comments on commit 4b2d08c

Please sign in to comment.