Goose  Diff

Differences From Artifact [68e94cc898]:

  • File bs/cir/gettemporary.h — part of check-in [90c951f66f] at 2021-01-12 21:08:37 on branch trunk — Implemented missing lowering of reference types to pointer types, added a bunch of runtime/compilation time reference tests. (user: achavasse size: 884)

To Artifact [8cfc6df0d3]:

  • File bs/cir/gettemporary.h — part of check-in [bcca4c51ba] at 2021-02-02 20:46:17 on branch trunk — CIR expressions pretty printing (user: achavasse size: 1079)

20
21
22
23
24
25
26





27
28
29
30
31
32
33

            bool operator<( const GetTemporary& rhs ) const
            {
                if( m_index != rhs.m_index )
                    return m_index < rhs.m_index;
                return m_type < rhs.m_type;
            }






        private:
            eir::Term m_type;
            uint32_t m_index = 0;
    };
}








>
>
>
>
>







20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

            bool operator<( const GetTemporary& rhs ) const
            {
                if( m_index != rhs.m_index )
                    return m_index < rhs.m_index;
                return m_type < rhs.m_type;
            }

            friend ostream& operator<<( ostream& out, const GetTemporary& ins )
            {
                return out << "GETTEMP(" << ins.m_index << ", " << ins.m_type << ')';
            }

        private:
            eir::Term m_type;
            uint32_t m_index = 0;
    };
}