forked from teamnwah/openmw-tes3coop
24 lines
512 B
C++
24 lines
512 B
C++
#ifndef COMPILER_GENERATOR_H_INCLUDED
|
|
#define COMPILER_GENERATOR_H_INCLUDED
|
|
|
|
#include <vector>
|
|
|
|
#include <components/interpreter/types.hpp>
|
|
|
|
namespace Compiler
|
|
{
|
|
class Literals;
|
|
|
|
namespace Generator
|
|
{
|
|
typedef std::vector<Interpreter::Type_Code> CodeContainer;
|
|
|
|
void pushInt (CodeContainer& code, Literals& literals, int value);
|
|
|
|
void assignToLocal (CodeContainer& code, char localType,
|
|
int localIndex, const CodeContainer& value, char valueType);
|
|
}
|
|
}
|
|
|
|
#endif
|
|
|