commit | 9485b55b34e991e72709b57cb6012d8c4ee5d638 | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Wed Jan 27 11:47:00 2021 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Jan 27 18:51:50 2021 +0000 |
tree | 441029d268c1a1da1bec181234d8baecb613b893 | |
parent | b4bcfb93c337476f77b0149b0e659c00a3ab84f8 [diff] |
Code cleanup: reuse get_storage_class in writeGlobalVar. Previously, we reimplemented get_storage_class almost verbatim in writeGlobalVar. A few tiny tweaks allowed this logic to be deduplicated. Change-Id: I9f7bb24c53f5249ea4e2e87ea8d18ff7b7150ed8 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/360598 Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com>