instruction.hpp 282 Bytes
Newer Older
Paul's avatar
Paul committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef GUARD_RTGLIB_INSTRUCTION_HPP
#define GUARD_RTGLIB_INSTRUCTION_HPP

#include <rtg/operand.hpp>
#include <rtg/shape.hpp>

namespace rtg {

struct instruction
{
    unsigned int id;
    std::string name;
    shape result;
    std::vector<instruction*> arguments;
};

}

#endif