92219b464a
When collapsing static switches, we were not handling the symbol table in SkSL::Block correctly, which led to assertion failures in some cases. This CL is based on the fixes in http://review.skia.org/296178 but removes the need to track pointers-to-unique-pointers. We do this by splitting the work into two parts: 1 - determine range of statements to move 2 - actually move statements Because the statements are all consecutive, keeping track of this range is not actually that difficult and we don't need to do any checks twice. Change-Id: I71ad745ef1e4b4f5f6b753762e65fa49b2399adc Reviewed-on: https://skia-review.googlesource.com/c/skia/+/296440 Commit-Queue: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
build/fuchsia | ||
build_overrides | ||
client_utils/android | ||
dm | ||
docker | ||
docs/examples | ||
example | ||
experimental | ||
fuzz | ||
gm | ||
gn | ||
include | ||
infra | ||
modules | ||
platform_tools | ||
resources | ||
samplecode | ||
site | ||
specs | ||
src | ||
tests | ||
third_party | ||
tools | ||
.clang-format | ||
.clang-tidy | ||
.gitignore | ||
.gn | ||
AUTHORS | ||
BUILD.gn | ||
codereview.settings | ||
CONTRIBUTING | ||
CQ_COMMITTERS | ||
DEPS | ||
go.mod | ||
go.sum | ||
LICENSE | ||
OWNERS | ||
PRESUBMIT.py | ||
public.bzl | ||
README | ||
README.chromium | ||
RELEASE_NOTES.txt | ||
whitespace.txt |
Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. See full details, and build instructions, at https://skia.org.