Top |
Functions
#define | ORC_COMPILER_ERROR() |
#define | ORC_COMPILE_RESULT_IS_FATAL() |
#define | ORC_COMPILE_RESULT_IS_SUCCESSFUL() |
#define | ORC_ASM_CODE() |
Types and Values
enum | OrcCompileResult |
struct | OrcCompiler |
struct | OrcConstant |
#define | ORC_ENABLE_ASM_CODE |
Description
OrcCompiler is the object used to convert Orc programs contained in an OrcProgram object into assembly code and object code.
The OrcCompileResult enum is used to indicate whether or not
a compilation attempt was successful or not. The macros
ORC_COMPILE_RESULT_IS_SUCCESSFUL()
and ORC_COMPILE_RESULT_IS_FATAL()
should be used instead of checking values directly.
When a program is compiled, the compiler calls the functions
contained in various OrcRule structures. These functions generate
assembly and object instructions by calling ORC_ASM_CODE()
or functions that use ORC_ASM_CODE()
internally.