ba05be0e62
This reverts commit 76167c002d.
Reason for revert: sometimes users are confused by the new
warnings, see https://github.com/dart-lang/sdk/issues/48495
TEST=ci
Issue: https://github.com/dart-lang/sdk/issues/48495
Issue: https://github.com/dart-lang/sdk/issues/48284
Original change's description:
> [vm/aot] Issue warning when compiling huge functions
>
> Certain optimizations are disabled when compiling huge functions.
> Also, compiling large functions may cause out of memory in compiler.
>
> This change adds a warning in order to make it easier for users to
> find out about huge functions in their programs and diagnose OOM
> during compilation.
>
> TEST=ci
> Issue: https://github.com/flutter/flutter/issues/94461
>
> Change-Id: Ibc7fb69df21fa96b8159d24c1b71ef8d690b23df
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/230160
> Reviewed-by: Slava Egorov <vegorov@google.com>
> Reviewed-by: Siva Annamalai <asiva@google.com>
> Commit-Queue: Alexander Markov <alexmarkov@google.com>
# Not skipping CQ checks because original CL landed > 1 day ago.
Issue: https://github.com/flutter/flutter/issues/94461
Change-Id: I1aa04ead64440d42eb4bfa21a1d65e59c150c00a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/234903
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>