[msl] Remove unused fields from printer
These were copied from an older version of the IR->AST printer but are
not currently used. We can re-add them if we ever need them.
Bug: 42251016
Change-Id: I2513913cc72b95e57555ef0930e782c278203006
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/188345
Reviewed-by: dan sinclair <dsinclair@chromium.org>
Commit-Queue: James Price <jrprice@google.com>
diff --git a/src/tint/lang/msl/writer/printer/printer.cc b/src/tint/lang/msl/writer/printer/printer.cc
index 5b46f4b..5399e2d 100644
--- a/src/tint/lang/msl/writer/printer/printer.cc
+++ b/src/tint/lang/msl/writer/printer/printer.cc
@@ -158,37 +158,6 @@
/// Non-empty only if the template has been generated.
std::string array_template_name_;
- /// The representation for an IR pointer type
- enum class PtrKind {
- kPtr, // IR pointer is represented in a pointer
- kRef, // IR pointer is represented in a reference
- };
-
- /// The structure for a value held by a 'let', 'var' or parameter.
- struct VariableValue {
- Symbol name; // Name of the variable
- PtrKind ptr_kind = PtrKind::kRef;
- };
-
- /// The structure for an inlined value
- struct InlinedValue {
- std::string expr;
- PtrKind ptr_kind = PtrKind::kRef;
- };
-
- /// Empty struct used as a sentinel value to indicate that an string expression has been
- /// consumed by its single place of usage. Attempting to use this value a second time should
- /// result in an ICE.
- struct ConsumedValue {};
-
- using ValueBinding = std::variant<VariableValue, InlinedValue, ConsumedValue>;
-
- /// IR values to their representation
- Hashmap<core::ir::Value*, ValueBinding, 32> bindings_;
-
- /// Values that can be inlined.
- Hashset<core::ir::Value*, 64> can_inline_;
-
/// Block to emit for a continuing
std::function<void()> emit_continuing_;