Skip to content

Commit

Permalink
Remove unnecessary monostate
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Feb 13, 2022
1 parent c084aed commit e030503
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/passes/MergeFunctions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,9 @@

namespace wasm {

struct ConstValueDiff : public std::monostate {};
struct ConstCalleeDiff : public std::monostate {};

// A set of constant values of an instruction different between each functions
// in an EquivalentClass
using ConstDiff =
std::variant<ConstValueDiff, Literals, ConstCalleeDiff, std::vector<Name>>;
using ConstDiff = std::variant<Literals, std::vector<Name>>;

// Describes a parameter which we create to parameterize the merged function.
struct ParamInfo {
Expand Down

0 comments on commit e030503

Please sign in to comment.