commit | 9397714f67830d5745c3bb871e51e5bb3f857470 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Tue Jun 20 16:48:35 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 20 16:48:35 2023 +0000 |
tree | 154c387690eb8d6209dc698579727342a5606cb0 | |
parent | c8f07088e47520a6d20efe9a7929c35c2c1c2c52 [diff] [blame] |
[tint][ir] Rename Case::start -> Case::block Without merge blocks, the whole case is held by a single block. Change-Id: If0fb23448abf7d36c7ae8adbe11b3f0975f5935b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/136381 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Kokoro: Ben Clayton <bclayton@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
diff --git a/src/tint/ir/switch.cc b/src/tint/ir/switch.cc index f8add4c..9d9e75d 100644 --- a/src/tint/ir/switch.cc +++ b/src/tint/ir/switch.cc
@@ -28,7 +28,7 @@ void Switch::ForeachBlock(const std::function<void(ir::Block*)>& cb) { for (auto& c : cases_) { - cb(c.Start()); + cb(c.Block()); } }