diff options
author | Alon Zakai <azakai@google.com> | 2022-05-17 08:36:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-17 08:36:39 -0700 |
commit | b2395815380a7a7cdcaa4d6e16efc784c10fd5ce (patch) | |
tree | 7bbc597707e6e418ebdac159545b494f6d65dce0 /src | |
parent | bfa956c250e0aa9c9dcedc2287ab74e72a2deeb5 (diff) | |
download | binaryen-b2395815380a7a7cdcaa4d6e16efc784c10fd5ce.tar.gz binaryen-b2395815380a7a7cdcaa4d6e16efc784c10fd5ce.tar.bz2 binaryen-b2395815380a7a7cdcaa4d6e16efc784c10fd5ce.zip |
[NFC] Make PossibleConstantValues::dump() a const function (#4671)
Diffstat (limited to 'src')
-rw-r--r-- | src/ir/possible-constant.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir/possible-constant.h b/src/ir/possible-constant.h index f8b690a93..b3272461d 100644 --- a/src/ir/possible-constant.h +++ b/src/ir/possible-constant.h @@ -162,7 +162,7 @@ public: // Returns whether we have ever noted a value. bool hasNoted() const { return !std::get_if<None>(&value); } - void dump(std::ostream& o) { + void dump(std::ostream& o) const { o << '['; if (!hasNoted()) { o << "unwritten"; |