diff options
author | John Hodge <tpg@mutabah.net> | 2016-12-31 18:30:42 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-12-31 18:30:42 +0800 |
commit | ad264bcc69545a2695115b72fdd286c09df062bd (patch) | |
tree | 3a322fe0398f3c791ea21061e8848ddd49dc7004 /src/mir/mir.hpp | |
parent | e35aa35f97133edc36e206ab38b1fa8ab9d88df5 (diff) | |
download | mrust-ad264bcc69545a2695115b72fdd286c09df062bd.tar.gz |
MIR Optimise - Allow assignment elimination with variables
Diffstat (limited to 'src/mir/mir.hpp')
-rw-r--r-- | src/mir/mir.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mir/mir.hpp b/src/mir/mir.hpp index 93bd7244..cacaea99 100644 --- a/src/mir/mir.hpp +++ b/src/mir/mir.hpp @@ -58,6 +58,7 @@ TAGGED_UNION_EX(LValue, (), Variable, ( ) ); extern ::std::ostream& operator<<(::std::ostream& os, const LValue& x); +extern bool operator<(const LValue& a, const LValue& b); extern bool operator==(const LValue& a, const LValue& b); static inline bool operator!=(const LValue& a, const LValue& b) { return !(a == b); |