program.hpp 350 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
20
21
#ifndef GUARD_RTGLIB_PROGRAM_HPP
#define GUARD_RTGLIB_PROGRAM_HPP

#include <deque>
#include <unordered_map>
#include <rtg/instruction.hpp>

namespace rtg {

struct program
{
    // A deque is used to keep references to an instruction stable
    std::deque<instruction> instructions;

    std::unordered_map<std::string, operand> ops;

};

}

#endif