updates fn calling generation
This commit is contained in:
parent
0f15032210
commit
a45fcd28db
@ -2553,7 +2553,11 @@ private:
|
||||
|
||||
this->gen_instr_prologue();
|
||||
/*generate behavior*/
|
||||
this->gen_wait(1);
|
||||
auto wait_arg0 = this->gen_const(8,1);
|
||||
std::vector<Value*> wait_args{
|
||||
wait_arg0
|
||||
};
|
||||
this->builder.CreateCall(this->mod->getFunction("wait"), wait_args);
|
||||
bb = BasicBlock::Create(this->mod->getContext(), "entry", this->func, this->leave_blk);
|
||||
auto returnValue = std::make_tuple(CONT,bb);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user