fakir/src/opcodes.hpp

17 lines
334 B
C++
Raw Normal View History

#ifndef fk_OPCODES_HPP
#define fk_OPCODES_HPP
2023-09-20 15:17:13 +00:00
#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