mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 01:30:32 +00:00
38d05280e5
Before value is stored into Float32List, it is converted to 32-bit float using DoubleToFloat instruction. If allocation sinking eliminated the allocation of Float32List but we need to deoptimize, the list is materialized and elements are filled. In such case, we shouldn't perform double->float conversion as it already happened. This change also updates the assertion in DoubleToFloatInstr::Canonicalize which verifies that DoubleToFloat instruction can be used only in certain cases. TEST=tests/language/vm/allocation_sinking_arrays_test.dart Fixes https://github.com/dart-lang/sdk/issues/45547 Change-Id: I9a1bd28a9fc09bccad6aa3c91a7880abd002f7c9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/193831 Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com> |
||
---|---|---|
.. | ||
co19 | ||
co19_2 | ||
corelib | ||
corelib_2 | ||
dartdevc | ||
dartdevc_2 | ||
ffi | ||
ffi_2 | ||
language | ||
language_2 | ||
lib | ||
lib_2 | ||
modular | ||
standalone | ||
standalone_2 | ||
web | ||
web_2 | ||
legacy_status_dart2js.csv | ||
README.md |
This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.