parent
a2b532cfff
commit
661bc3bc16
@ -1 +1 @@
|
|||||||
Subproject commit 051140175db16b38acee882cfca714b4a1000a41
|
Subproject commit 7b1f815a73096ac33f41133b63d991019622de49
|
@ -0,0 +1,13 @@
|
|||||||
|
#include <vm_lifters.hpp>
|
||||||
|
|
||||||
|
namespace vm
|
||||||
|
{
|
||||||
|
lifters_t::lifter_callback_t lifters_t::writeq =
|
||||||
|
[ & ]( vm::devirt_t *rtn, const vm::instrs::code_block_t &vm_code_block, const vm::instrs::virt_instr_t &vinstr,
|
||||||
|
llvm::IRBuilder<> *ir_builder ) {
|
||||||
|
auto t1 = rtn->pop( 8 );
|
||||||
|
auto t2 = rtn->pop( 8 );
|
||||||
|
auto t3 = ir_builder->CreateIntToPtr( t1, llvm::PointerType::get( ir_builder->getInt64Ty(), 0ull ) );
|
||||||
|
ir_builder->CreateStore( t2, t3 );
|
||||||
|
};
|
||||||
|
} // namespace vm
|
Loading…
Reference in new issue