You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
377 B
11 lines
377 B
3 years ago
|
#include <vm_lifters.hpp>
|
||
|
|
||
|
namespace vm
|
||
|
{
|
||
|
lifters_t::lifter_callback_t lifters_t::lflagsq =
|
||
|
[ & ]( vm::vmp_rtn_t *rtn, const vm::instrs::code_block_t &vm_code_block,
|
||
|
const vm::instrs::virt_instr_t &vinstr, llvm::IRBuilder<> *ir_builder ) {
|
||
|
auto flags = rtn->pop( 8 );
|
||
|
ir_builder->CreateStore( flags, rtn->flags );
|
||
|
};
|
||
|
}
|