Fixed some C/C++ compiler errors due to stricter checks.
[rubinius.git] / machine / interpreter.hpp
bloba6124798141d2f690453e390b6901d0ccfeea914
1 #ifndef RBX_INTERPRETER_HPP
2 #define RBX_INTERPRETER_HPP
4 #include <stdint.h>
6 #include "defines.hpp"
7 #include "call_frame.hpp"
8 #include "instructions.hpp"
10 namespace rubinius {
11 struct CallFrame;
12 class CompiledCode;
13 class MachineCode;
15 class Interpreter {
16 static const intptr_t interpreter_addresses[];
18 public:
20 static void prepare(STATE, CompiledCode* compiled_code, MachineCode* machine_code);
21 static intptr_t execute(STATE, MachineCode* const machine_code);
25 #endif