17 lines
334 B
C++
17 lines
334 B
C++
#ifndef fk_OPCODES_HPP
|
|
#define fk_OPCODES_HPP
|
|
|
|
#define OPCODES(G) G(OP_LOAD_CONST), G(OP_POP), G(OP_CALL_NATIVE), \
|
|
G(OP_LOAD_GLOBAL), G(OP_LOAD_LOCAL), G(OP_STORE_LOCAL), \
|
|
G(OP_MAKE_FUNCTION), G(OP_CALL_REF), G(OP_RET), G(OP_BNE), \
|
|
G(OP_BR)
|
|
|
|
#include "commons.hpp"
|
|
|
|
namespace fk
|
|
{
|
|
FK_ENUM(Opcode, OPCODES);
|
|
}
|
|
|
|
#endif
|