Goose  Diff

Differences From Artifact [1a808e0a1d]:

  • File bs/llr/instruction.h — part of check-in [cc9ce06e64] at 2019-10-08 18:02:59 on branch trunk — Added the "placeholder" llr pseudo instruction. (user: achavasse size: 4579)

To Artifact [9e657a30b9]:

  • File bs/llr/instruction.h — part of check-in [5329f83e33] at 2019-11-18 22:42:17 on branch trunk — Removed the "inline CFG" llr instruction and related support code. (user: achavasse size: 4404)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef GOOSE_LLR_INSTRUCTION_H
#define GOOSE_LLR_INSTRUCTION_H

namespace goose::llr
{
    class CFG;

    class Instruction
    {
        public:
            Instruction() {}

            Instruction( Call&& c ) :
                m_content( move( c ) )
            {}

            Instruction( ptr< CFG >&& ic ) :
                m_content( move( ic ) )
            {}

            Instruction( CreateTemporary&& ct ) :
                m_content( move( ct ) )
            {}

            Instruction( GetTemporary&& gt ) :
                m_content( move( gt ) )
            {}










<
<




<
<
<
<







1
2
3
4
5
6
7
8
9
10


11
12
13
14




15
16
17
18
19
20
21
#ifndef GOOSE_LLR_INSTRUCTION_H
#define GOOSE_LLR_INSTRUCTION_H

namespace goose::llr
{
    class CFG;

    class Instruction
    {
        public:


            Instruction( Call&& c ) :
                m_content( move( c ) )
            {}





            Instruction( CreateTemporary&& ct ) :
                m_content( move( ct ) )
            {}

            Instruction( GetTemporary&& gt ) :
                m_content( move( gt ) )
            {}
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162

            Instruction( Placeholder&& x ) :
                m_content( move( x ) )
            {}

            using Content = variant
            <
                ptr< CFG >, // CFG inlining
                Call,
                CreateTemporary,
                GetTemporary,
                AllocVar,
                GetVar,
                SetVar,
                Phi,







<







142
143
144
145
146
147
148

149
150
151
152
153
154
155

            Instruction( Placeholder&& x ) :
                m_content( move( x ) )
            {}

            using Content = variant
            <

                Call,
                CreateTemporary,
                GetTemporary,
                AllocVar,
                GetVar,
                SetVar,
                Phi,